Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2211025pxu; Sun, 6 Dec 2020 23:51:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJyKAw0hTwneJ+qmOm4TYN7KgQYqrQdM7qXwaUErfD3Yrmrw/0MWiCgr0pwTBszq9w/gr8SY X-Received: by 2002:aa7:cd84:: with SMTP id x4mr18132645edv.192.1607327476493; Sun, 06 Dec 2020 23:51:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607327476; cv=none; d=google.com; s=arc-20160816; b=pnrts6xk3+iQ2Fv74zMXt6fOl6n9AKp77EF+0tXROO+Gt0FcN7FDZoRiwEzB6ZQHAk CLEAk7GmYxQTUGkX9BpbN1UhTjABwNqn6Cvfmg5aub4TXDkAHMlHJnmyRwXKJXtguGnn relZBUhH0zracxYuN9YxgiD64ii+aOa3zWISjTRjkbQ0N4spDHzeGjidnaUHguT3uQxH fcNrS0Es80hRIDyfQKKgKjV/MOiz9Fn4VDwxFo+WHCfS67mKgn8i8oQuayMgQZNc9NvJ MzjMId8EQUnZgfLKCl3RsL0S6/yh4KdfdrBynJWpZyMbKQUYXhEXXZq3B75TVM+K6tuy i0Nw== 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=HV673zw5ADK5TUeJG4xaxVXpwafWi7wjpFmgqgVBulA=; b=AvtBK0EzzdBc6YRE5ajyOaM8dZU5KL1o9m+k11eMdQwckmSGr0h4uSl1p5LaHuspBF iZEjZx/ulodqc/K1+pdCYnuDUPHxXd22KVF2z1abWXs1Yl75xd6fCznCkxOan0FWTi2Q 7Y7wYgJikcFk0Wl+2o8K29b6RNTUdScxWkKX9vpyYclevZ9KgoHhKsgXfjf66fT+PEM0 25sBjrZFoVEDFrWhSd+wXA5v7okThjnpFQzAwYzVnd1dM1PnJKJdc3oyxdyD+4shVxmx f4G6DFQooazATZP1k6fS9ytPkX83P0NT4gnkdUeLfnS48/WbG1Q16WhOkw7zvG4WidIq cJ2A== 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 a5si6017037ejr.334.2020.12.06.23.50.52; Sun, 06 Dec 2020 23:51:16 -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 S1726174AbgLGHsb (ORCPT + 99 others); Mon, 7 Dec 2020 02:48:31 -0500 Received: from helcar.hmeau.com ([216.24.177.18]:43466 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726173AbgLGHsb (ORCPT ); Mon, 7 Dec 2020 02:48:31 -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 1kmBFL-0000b8-5f; Mon, 07 Dec 2020 18:47:48 +1100 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Mon, 07 Dec 2020 18:47:47 +1100 Date: Mon, 7 Dec 2020 18:47:47 +1100 From: Herbert Xu To: liulongfang 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: <20201207074747.GA11207@gondor.apana.org.au> 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> <20201207034511.GA10526@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Mon, Dec 07, 2020 at 03:46:28PM +0800, liulongfang wrote: > > I need to use "__packed __aligned(n)" to make sure the structure length is normal. > Is it possible to use "__packed __aligned(n)" in the kernel? I don't see why not. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt