]> www.infradead.org Git - users/dwmw2/linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 11:57:43 +0000 (13:57 +0200)
commit5b3b0b7d6e2f5f87513c8d21213ce6245b21183b
tree6ecfdb4da3bf27466684ce85a8e67e11c2d67169
parente745922a4018b7f2529d5ff128979d333d18cbcf
media: ov5648: Don't pack controls struct

[ Upstream commit edd4fbff5378a8103470304809195dc8f4b1d42a ]

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: e43ccb0a045f ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/i2c/ov5648.c