Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2216638pxb; Fri, 17 Sep 2021 05:07:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwPnCca9IlslTq8I5WcU4/KWfaM/jWO6E7TTHaeI1FasaIm4XlG7tEaZ+JtZLylV1uBp26l X-Received: by 2002:a6b:8e87:: with SMTP id q129mr8247907iod.176.1631880424682; Fri, 17 Sep 2021 05:07:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631880424; cv=none; d=google.com; s=arc-20160816; b=dvrTPjqzgBmN/lAuEkEtlea4hM6Gy+3vKPH2cv/oeQQiztETUEOidy6GveC4AmXMqL Pj8ULaa20+5xxB/cEmw90DAw2JdL5ci5b9oO3Xv/uAiyK5/0kK1oeU74i5H7qzXzYAzt uYLnZ2tYTu0BzFxq4i9Fp2saFvWhdze2D8ZdXwzf78BBcokCrLQ87Awv0n5jCNeRtseS ZsyZ8ZkxYixJSA8Ozy+t8//hYhLrfdqIcoN23CfBB2I1DsBf1cRg2jQ4M/UOyXXiFZpQ BRhL5VKsqwYhtrQWXMSddn9ZGtrSHMLCXzobzyabAVBy9RLUncUb8wVQ9uefcYeXcQaO RGlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=YUaXC0HxPZCwssk+PGrK1/SjB0NKJOgUGY0fO1PxOl4=; b=lJZqqJt45N+uqvbQ3QVPk32iYowfWH718WYZzzKngwFS0v7yAgBZtcqpMYYIL94VrX 9ysB1CeaGwV1Nv7WfBxHBUUoa46sJyHPQ6nPls5PnhYS5icUi3ftNYRaNzB9IInxzU6R JG34PGTrh1bWzYFq3YWi1oVBn5eUbY0MWNz2O2zVb39x+X9LeFgoeWbhUsHhsdH5ZzT9 rn8dSLeShatWEK6xP/L7L/wN8IaTGGWBtKqmoLAzdSYqlMy0pVx/cGs6ffEzr29boRh9 H4QZsOYfYGctz5jGCIZvleb53ObgwgpSFWAubjbIiFBMBAA+iC0yaJo+fe8sAJ5UeWAJ e/Bg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-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 j11si5801427ilu.130.2021.09.17.05.06.51; Fri, 17 Sep 2021 05:07:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243713AbhIQDV4 (ORCPT + 99 others); Thu, 16 Sep 2021 23:21:56 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:55250 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240837AbhIQDVz (ORCPT ); Thu, 16 Sep 2021 23:21:55 -0400 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtp (Exim 4.92 #5 (Debian)) id 1mR4QT-0006Dj-Bv; Fri, 17 Sep 2021 11:20:33 +0800 Received: from herbert by gondobar with local (Exim 4.92) (envelope-from ) id 1mR4QT-0001l9-8i; Fri, 17 Sep 2021 11:20:33 +0800 Date: Fri, 17 Sep 2021 11:20:33 +0800 From: Herbert Xu To: Giovanni Cabiddu Cc: linux-crypto@vger.kernel.org, qat-linux@intel.com, kernel test robot , Wojciech Ziemba Subject: Re: [PATCH] crypto: qat - remove unneeded packed attribute Message-ID: <20210917032033.GA6741@gondor.apana.org.au> References: <20210902083459.238983-1-giovanni.cabiddu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210902083459.238983-1-giovanni.cabiddu@intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Thu, Sep 02, 2021 at 09:34:59AM +0100, Giovanni Cabiddu wrote: > Remove packed attribute from structures that do not need to be packed. > These are just used internally and not shared with firmware. > > This also fixes a series of warning when compiling the driver with the > flag -Waddress-of-packed-member, similar to the following: > > drivers/crypto/qat/qat_c62xvf/adf_c62xvf_hw_data.c:102:28: warning: taking address of packed member 'csr_ops' of class or structure 'adf_hw_device_data' may result in an unaligned pointer value > > Signed-off-by: Giovanni Cabiddu > Reported-by: kernel test robot > Reviewed-by: Wojciech Ziemba > --- > drivers/crypto/qat/qat_common/adf_accel_devices.h | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt