Skip to content

Commit 8a235a9

Browse files
Sakari Ailusgregkh
authored andcommitted
media: intel-ipu3: Align struct ipu3_uapi_awb_fr_config_s to 32 bytes
[ Upstream commit ce644cf ] A struct that needs to be aligned to 32 bytes has a size of 28. Increase the size to 32. This makes elements of arrays of this struct aligned to 32 as well, and other structs where members are aligned to 32 mixing ipu3_uapi_awb_fr_config_s as well as other types. Fixes: commit dca5ef2 ("media: staging/intel-ipu3: remove the unnecessary compiler flags") Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Tested-by: Bingbu Cao <bingbu.cao@intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent f1c5e6a commit 8a235a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/staging/media/ipu3/include/intel-ipu3.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ struct ipu3_uapi_awb_fr_config_s {
449449
__u16 reserved1;
450450
__u32 bayer_sign;
451451
__u8 bayer_nf;
452-
__u8 reserved2[3];
452+
__u8 reserved2[7];
453453
} __attribute__((aligned(32))) __packed;
454454

455455
/**

0 commit comments

Comments
 (0)