]> git.baikalelectronics.ru Git - kernel.git/commit
media: ov5648: Don't pack controls struct
authorSakari Ailus <sakari.ailus@linux.intel.com>
Mon, 10 Jan 2022 16:16:51 +0000 (17:16 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 28 Jan 2022 18:32:49 +0000 (19:32 +0100)
commitdbdc54a6fb7f1f9a95181e61bb0d488c71ca2ef4
treeb34ed44b8d74b5490be63da51daed5aeb1518cdc
parentd31f546311815d84308f2ddd620b25155c14ff7b
media: ov5648: Don't pack controls struct

Don't pack the driver specific struct containing control pointers. This
lead to potential alignment issues when working with the pointers.

Reported-by: kernel test robot <lkp@intel.com>
Fixes: c6372971ea8d ("media: i2c: Add support for the OV5648 image sensor")
Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/i2c/ov5648.c