Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp154067pxu; Thu, 3 Dec 2020 23:07:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJywA88/PPphU/43XOPi4WRJGOxo/+nINsx/feP2Fy1yzYyc7NyLgYhmG7gGal9I6Mi+Hyev X-Received: by 2002:a17:906:7fca:: with SMTP id r10mr5868032ejs.24.1607065676285; Thu, 03 Dec 2020 23:07:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607065676; cv=none; d=google.com; s=arc-20160816; b=xLWrBLKWWKMPxkBbHbnMfg8Cxjq5UFblm5CZkJHmDOFbr1jPSQVJM9k9NZJ6mCCSMr Q+PpY5O3ne6bAwbhuOVjNjcOLR7zD69pkGS0/8m8vTPqXz4l4I3KMAp/O3NWeBp8FjO+ Yi+FGu89YdEKlsMulbPWdu0QKkXxB8QjxwtX7lt6E7Pd77mLyVtAB7xqU8JxH0PQCehD cEJ/tJpYF9S/XoOhi1jejgmDY/8CA0mNBDZigvep1iFoklQcXvq0BuyV6yWr3gp1okRh dRpTepLfckY6ODWQCBW0dDjq+8jdF8vh0cp8IUKZ4FpkWn8U51Uoa3UIgsDnqkoPRUKV TrbQ== 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=lSQqDhCvXdCzDvAi/1Q2mXWzYbs/U1LWQY2rn6fb714=; b=BoBcCiOsFB+DXiuUvlFgXcvXC+WP48z5bchwfmSNNOUB8H1XLKn8GASsPrgAXpDmVe pBZxM3WkzoHRdl5aouTj2V+MA6OasB1MMhqXk3rllxEWe75xE2xc/TqzlfghlI/pd5f9 7ZkdPYPYzz8FE5suxzlBYaSEX6yCgU3jFXXNVJsv1+k9lVGtwyM4FEJ63P2ULRnz8gWG Q7epGtm0SnTK5S3IIGltrtihZKSB+s0r6kW1b8KwvNkTcwjUcBIziZXHaVpsPoiYURgN K8g1TeK/cXNhBEv/7/E/KCPjSPSZrqlXbWhWdiDadgmwihjDeY19/mJ4jcg0oAUUPOgv nrRw== 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 m8si829540eja.18.2020.12.03.23.07.25; Thu, 03 Dec 2020 23:07:56 -0800 (PST) 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 S1727996AbgLDHEq (ORCPT + 99 others); Fri, 4 Dec 2020 02:04:46 -0500 Received: from helcar.hmeau.com ([216.24.177.18]:60918 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728118AbgLDHEq (ORCPT ); Fri, 4 Dec 2020 02:04:46 -0500 Received: from gwarestrin.arnor.me.apana.org.au ([192.168.0.7]) by fornost.hmeau.com with smtp (Exim 4.92 #5 (Debian)) id 1kl58J-0006Uq-Hu; Fri, 04 Dec 2020 18:04:00 +1100 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Fri, 04 Dec 2020 18:03:59 +1100 Date: Fri, 4 Dec 2020 18:03:59 +1100 From: Herbert Xu To: Longfang Liu Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/5] crypto: hisilicon/sec - add new type of sqe for Kunpeng930 Message-ID: <20201204070359.GA26438@gondor.apana.org.au> References: <1606357086-9785-1-git-send-email-liulongfang@huawei.com> <1606357086-9785-3-git-send-email-liulongfang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1606357086-9785-3-git-send-email-liulongfang@huawei.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Thu, Nov 26, 2020 at 10:18:03AM +0800, Longfang Liu wrote: > > diff --git a/drivers/crypto/hisilicon/sec2/sec_crypto.h b/drivers/crypto/hisilicon/sec2/sec_crypto.h > index 0e933e7..712176b 100644 > --- a/drivers/crypto/hisilicon/sec2/sec_crypto.h > +++ b/drivers/crypto/hisilicon/sec2/sec_crypto.h > @@ -211,6 +219,167 @@ struct sec_sqe { > struct sec_sqe_type2 type2; > }; > > +#pragma pack(4) Please don't use pragma pack. Instead add the attributes as needed to each struct or member. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt