Commit 81d1adeb authored by Sakari Ailus's avatar Sakari Ailus Committed by Mauro Carvalho Chehab

media: Revert "staging: imgu: Address a compiler warning on alignment"

This reverts commit c9d52c11.

The patch being reverted changed the memory layout of struct
ipu3_uapi_acc_param. Revert it, and address the compiler warning issues in
further patches.

Fixes: commit c9d52c11 ("media: staging: imgu: Address a compiler warning on alignment")
Reported-by: default avatarTomasz Figa <tfiga@chromium.org>
Tested-by: default avatarBingbu Cao <bingbu.cao@intel.com>
Cc: stable@vger.kernel.org # for v5.3 and up
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent f9d813cc
...@@ -2477,7 +2477,7 @@ struct ipu3_uapi_acc_param { ...@@ -2477,7 +2477,7 @@ struct ipu3_uapi_acc_param {
struct ipu3_uapi_yuvp1_yds_config yds2 __attribute__((aligned(32))); struct ipu3_uapi_yuvp1_yds_config yds2 __attribute__((aligned(32)));
struct ipu3_uapi_yuvp2_tcc_static_config tcc __attribute__((aligned(32))); struct ipu3_uapi_yuvp2_tcc_static_config tcc __attribute__((aligned(32)));
struct ipu3_uapi_anr_config anr; struct ipu3_uapi_anr_config anr;
struct ipu3_uapi_awb_fr_config_s awb_fr __attribute__((aligned(32))); struct ipu3_uapi_awb_fr_config_s awb_fr;
struct ipu3_uapi_ae_config ae; struct ipu3_uapi_ae_config ae;
struct ipu3_uapi_af_config_s af; struct ipu3_uapi_af_config_s af;
struct ipu3_uapi_awb_config awb; struct ipu3_uapi_awb_config awb;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment