From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A9BF5C47247 for ; Tue, 5 May 2020 11:15:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 85C36206B9 for ; Tue, 5 May 2020 11:15:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588677310; bh=6/A5E4gWxWlsGjdvSQeTIgla5NM5oRdNgRFxZfwBDYY=; h=From:Date:Subject:To:Cc:Reply-to:List-ID:From; b=UZSGdU8xKHI7wcQaTf+gyXTdyKPO20BpAqYuLRjEVQ/pHnw+4F1+D/qTu86Fhb6KC WpPmVTR+M3T1SIhXsKdDM/dCfQIpyCvHWnh8hI+9L3dxECBDnJ6TFlS/3g1TfatxnX y5BzXaXdIJ/7BMVNRBGPY0MdioeD6EVFwi4rc+Uc= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728660AbgEELPK (ORCPT ); Tue, 5 May 2020 07:15:10 -0400 Received: from www.linuxtv.org ([130.149.80.248]:54120 "EHLO www.linuxtv.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728565AbgEELPJ (ORCPT ); Tue, 5 May 2020 07:15:09 -0400 Received: from mchehab by www.linuxtv.org with local (Exim 4.92) (envelope-from ) id 1jVvUK-00CdoV-NI; Tue, 05 May 2020 11:11:48 +0000 From: Mauro Carvalho Chehab Date: Tue, 05 May 2020 11:12:03 +0000 Subject: [git:media_tree/master] media: staging: ipu3-imgu: Move alignment attribute to field To: linuxtv-commits@linuxtv.org Cc: stable@vger.kernel.org, Sakari Ailus , Bingbu Cao Mail-followup-to: linux-media@vger.kernel.org Forward-to: linux-media@vger.kernel.org Reply-to: linux-media@vger.kernel.org Message-Id: Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org This is an automatic generated email to let you know that the following patch were queued: Subject: media: staging: ipu3-imgu: Move alignment attribute to field Author: Sakari Ailus Date: Wed Apr 15 17:40:09 2020 +0200 Move the alignment attribute of struct ipu3_uapi_awb_fr_config_s to the field in struct ipu3_uapi_4a_config, the other location where the struct is used. Fixes: commit c9d52c114a9f ("media: staging: imgu: Address a compiler warning on alignment") Reported-by: Tomasz Figa Tested-by: Bingbu Cao Cc: stable@vger.kernel.org # for v5.3 and up Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/ipu3/include/intel-ipu3.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- diff --git a/drivers/staging/media/ipu3/include/intel-ipu3.h b/drivers/staging/media/ipu3/include/intel-ipu3.h index 5f43f631cf62..a607b0158c81 100644 --- a/drivers/staging/media/ipu3/include/intel-ipu3.h +++ b/drivers/staging/media/ipu3/include/intel-ipu3.h @@ -450,7 +450,7 @@ struct ipu3_uapi_awb_fr_config_s { __u32 bayer_sign; __u8 bayer_nf; __u8 reserved2[7]; -} __attribute__((aligned(32))) __packed; +} __packed; /** * struct ipu3_uapi_4a_config - 4A config @@ -466,7 +466,8 @@ struct ipu3_uapi_4a_config { struct ipu3_uapi_ae_grid_config ae_grd_config; __u8 padding[20]; struct ipu3_uapi_af_config_s af_config; - struct ipu3_uapi_awb_fr_config_s awb_fr_config; + struct ipu3_uapi_awb_fr_config_s awb_fr_config + __attribute__((aligned(32))); } __packed; /**