Skip to contentSkip to conversation

media: staging: rkisp1: remove TODO item - uapi structs compatibility

PATCH New Dafna Hirschfeld 1 participant 1 message Apr 7, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: staging: rkisp1: remove TODO item - uapi structs compatibility

remove the TODO item:

* Make sure uapi structs have the same size and layout in 32 and 62 bits, and that there are no holes in the structures (pahole is a utility that can be used to test this).

It was tested with pahole and found compatible.

---
I tested it using a script that compiles a code that includes the header both for arm and arm64 and compare the sha1 of the pahole results:

git clone --single-branch --branch rkisp1 [email protected]:dafna/v4l2-ctrl-abi-check.git ./run-rkisp1.sh

 drivers/staging/media/rkisp1/TODO | 3 ---
 1 file changed, 3 deletions(-)
drivers/staging/media/rkisp1/TODO +0 -3
index 0aa9877dd64a..f495b8177767 100644
@@ -4,9 +4,6 @@ cio2_parse_firmware in drivers/media/pci/intel/ipu3/ipu3-cio2.c.
 * Fix pad format size for statistics and parameters entities.
 * Use threaded interrupt for rkisp1_stats_isr(), remove work queue.
 * Fix checkpatch errors.
-* Make sure uapi structs have the same size and layout in 32 and 62 bits,
-and that there are no holes in the structures (pahole is a utility that
-can be used to test this).
 * Review and comment every lock
 * Handle quantization
 * Document rkisp1-common.h
Signature · 1 line
2.20.1