Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp2176553ybg; Fri, 5 Jun 2020 07:28:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyG8AeNlgY+AxQsIzSE36HJ5l+i6v1bdDjIHarRiHlORWSiWNGTGAkuYzE3gAsqjMpAe6Zc X-Received: by 2002:a17:906:2656:: with SMTP id i22mr8503044ejc.397.1591367314229; Fri, 05 Jun 2020 07:28:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591367314; cv=none; d=google.com; s=arc-20160816; b=P8A8aU7KQ5UQrB9auqhB/zZ7u2y9RJZLHt4c4KMQNrI6K4G/zk0qn+PQVRXSFTuv2S HCWnNqyEXACJPAVhwUXJtGcSa656f1tCP2UgnQg85+joef3U8yLZ/BRA9O+Q04/k3N3x bxWzKpdvNxlorXfA/KoAMfq86Dz/MFdcRlzTxaeCagUyalqUhy9Gy403hY3lXwf0h7CB CZHlOgGWXqS4KShd0+/BQG+RGulm2/MgOBELeymvOnWlDZnWpyYctLJDbiaQw7/pfMkz beTcHUYqa8PHnZqahRb6kufQHhJ2vfufr/WvQ22wT5PNiMbpAGn+fLnKSNX4MkAQZfKU 0EIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Qo65XtGXWUrUnXdH78FMZ9mMhBow4Gf4lnmeqHfn0Ck=; b=IZqvSeteO7w6rbjJu7tE5A7mY0UoGMimQ7JRcNOAgsi5koIuwW/4cVwfQg9s7gIPiP qLsto51G+/bWP2m933Drmn+A1DrFg1DuJelH1xz8VGA7LVwZYLGGG4sG6VmZ2NToDnGJ NOh0iS2hPZIv3M6BRgTxxi06gDxwaX6wQkI6Q3ROV+T7oLRU+h3y4hh2WCfoXHXwP2tn vCv6skRB15BnC3bNxeqF1uBKY/Ir5vVWmddR8lgBwin3yeqqZtmj6d6eGPd1Lr+r7OU/ 1I5r2uoeVHlL2vHxgcXcc7K3Qi5p8TO8PNWEvDxIuCQkp+Hh/AYylLuJf1qbMX+3EcK6 IaWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="X+e/6Jn5"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l8si3538492ejb.670.2020.06.05.07.28.11; Fri, 05 Jun 2020 07:28:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="X+e/6Jn5"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728640AbgFEOSQ (ORCPT + 99 others); Fri, 5 Jun 2020 10:18:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:48456 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728586AbgFEOSD (ORCPT ); Fri, 5 Jun 2020 10:18:03 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5DCF02086A; Fri, 5 Jun 2020 14:18:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1591366682; bh=nZhiGEfILEKMt44G8xrubVFUgbwYyN4KAnoxAwiFdG0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=X+e/6Jn5meqKiw9UxtdOxczvINjDcUJ3fGL1BzDQMb5A+W+3294M6XMViQFs8hn3q L330NEyW5JqR9xJxUUnog64ZbI6oUVkVLfMdhY2I6o9sZTWB15jjVkFjQ7bo5GGiHX 55F35RNA2KEtXBaECUa+VK8+L30ZAfyVsV6wwcIM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Tomasz Figa , Bingbu Cao , Sakari Ailus , Mauro Carvalho Chehab Subject: [PATCH 5.4 11/38] media: staging: ipu3-imgu: Move alignment attribute to field Date: Fri, 5 Jun 2020 16:14:54 +0200 Message-Id: <20200605140253.247509122@linuxfoundation.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200605140252.542768750@linuxfoundation.org> References: <20200605140252.542768750@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sakari Ailus commit 8c038effd893920facedf18c2c0976cec4a33408 upstream. 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/media/ipu3/include/intel-ipu3.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- 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; /**