Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2051875pxu; Sun, 6 Dec 2020 17:13:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJxEaqNuwBgTf68WV2q6CVU/sVvVrki92QtqrFNRJh1c6nK76wQamD4t9M/NTKkmKQYmVfo3 X-Received: by 2002:a50:9ea4:: with SMTP id a33mr14439771edf.70.1607303594594; Sun, 06 Dec 2020 17:13:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607303594; cv=none; d=google.com; s=arc-20160816; b=S23B+K6ZYKCZqL+lNwET+ru9vr9dRql2VK5c0rNUO6Lnzc0CnH8ElNiguo3rNiDwad xCkdPenodoLHRYnPDCo+xJzfZOPgBGlsAam+AIwWI4lu3/IJuKqR+8Jx2ygWrYg0EX2W /bsgtY7vqQBp6NOoKAPcsm3/PgBdf0GKy5FqqoCDlmQRH1mF5yPI2DmQupo7ErWZeXbN Pr9YLkxPYz4nCqE/Qwoa+v9Hdq+p/HSbsZhOkwU3Y4meZLEwFLTgJYNuMnmiZFk4w+el KCvWoSqoft/ZyGCpT1Drlxiie7q8m6mXXAW7QeDh3XKJ2U85huN/DTR3mTJqhugF3QXH Qk9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=51eyJt+cBClz9UJeaAikcRc0fkPkr4AYDGR64+uZAVI=; b=Uv9TA9DjQDX7WeEuE1O8Aefe1271u1h3eIwtGIm5tZ8YNSo7YfMHej8nHAGIkTIjb3 4KaHrR2vfi+I8mD/jC7mqIDCVNzCkPYA+xzko69DiLMDwhudM29BRyVJbPNsM3YdwMrm pOHRaB3EQRpB86yyzr0/g0AdibPcPX4B4mjN/z8FxTNMUs4/gQt+9WdjdI+O83SyIQnw 3K2u7cH0wZE3OAZKqlFRF4jtfXHmFcaI1N4DrAf0ENFpNXCjQMfmwBOslQhPE6qjp+I6 GamLL21zrujH3MQ+/+XyGT6hi42qZA71nxjQpPH/cvw/EXHIQgsDu+uAAXG+t4b8Wx9A osjg== 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 f5si5786900ejw.117.2020.12.06.17.12.39; Sun, 06 Dec 2020 17:13:14 -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 S1728561AbgLGBLY (ORCPT + 99 others); Sun, 6 Dec 2020 20:11:24 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:9019 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726046AbgLGBLY (ORCPT ); Sun, 6 Dec 2020 20:11:24 -0500 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4Cq4x0351qzhn7d; Mon, 7 Dec 2020 09:10:12 +0800 (CST) Received: from [10.67.102.118] (10.67.102.118) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.487.0; Mon, 7 Dec 2020 09:10:37 +0800 Subject: Re: [PATCH 2/5] crypto: hisilicon/sec - add new type of sqe for Kunpeng930 To: Herbert Xu CC: , References: <1606357086-9785-1-git-send-email-liulongfang@huawei.com> <1606357086-9785-3-git-send-email-liulongfang@huawei.com> <20201204070359.GA26438@gondor.apana.org.au> From: liulongfang Message-ID: <26023bba-78cf-4d91-3510-b6d69fa4768e@huawei.com> Date: Mon, 7 Dec 2020 09:10:38 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20201204070359.GA26438@gondor.apana.org.au> Content-Type: text/plain; charset="gbk" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.102.118] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On 2020/12/4 15:03, Herbert Xu Wrote: > 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, > OK, I will modify it in next patchset thanks. Longfang