Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1715328ybg; Sat, 19 Oct 2019 00:57:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqx0nZ31Uc9laLyqbhie+fy/xzHy266U44Zm9PBfB0Wkq36QzyS4pAtEcK1IrFvNci+mEPu8 X-Received: by 2002:a17:906:470d:: with SMTP id y13mr12335844ejq.241.1571471850753; Sat, 19 Oct 2019 00:57:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571471850; cv=none; d=google.com; s=arc-20160816; b=ygJvHN+6pNy0Q1lEieKbyjNdB9WGvuQiPqgwv8ilynAhsZcV+W+j9v4RTZsfFE6JMo 6m1tySGVF2LvdlYAFpgJzM5NYMq7XzNntfcSDOgTidQd27Q9bgmKsmWkP0ibFlleVFCq oYCq0Sha/BWIl2wMyY3UMinZlNk90QoGGxq2QSw9+1voRXffneH2VjHeRb7YorEYad7w yHFulCYTi5if4EDIkw5ItHhGmEVEtwIiXhAbNXX+Zw3coyP6UWUbpYLBnWrTdE2hppa/ Vp4IJOi5GTOxUgpAnbpEvEyub3y2G5Xq3RI2WmzPwHunGULSPkHb78c63GoEtAvyn+BY QmoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=eAfUOo8WDVWslT2mFwH8cZptPLZXyh2M+dJCWCUYYhU=; b=E4ASJW1r+Q/RPQSm/sn2QkTa3EOAQWGcxExo4CYfhPS/1ajIvP3sVAoHjZP4yTb443 kX83w4HKLRasHL80dNEEs5D+QhFh/oArGMAlNWDV/Qdy1ym+aEbSJUhCKnA9NAgyf700 P0eZHl61fo+QaBAUmtWEUpcrI7doICdZW6MzKrS0F68sESkoPN7FNrwbwoK2FEimEZAr fsrW3zeButUFDzRyD09i+DSCKH8DIoSXXzTjruIRjpD66JGn0wP3tJfk+tTq5curo7d8 pr+Uh3+m+filKAQRoICjsb8DpWqvAkukb8mmk9z9pM1bTlPBr4uFgE0EtpyjOqR8ShTd SaVQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s20si4903386eja.63.2019.10.19.00.57.06; Sat, 19 Oct 2019 00:57:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404205AbfJRIH0 (ORCPT + 99 others); Fri, 18 Oct 2019 04:07:26 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:37432 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391374AbfJRIHZ (ORCPT ); Fri, 18 Oct 2019 04:07:25 -0400 Received: from gwarestrin.arnor.me.apana.org.au ([192.168.0.7]) by fornost.hmeau.com with smtp (Exim 4.89 #2 (Debian)) id 1iLNI8-00022F-CR; Fri, 18 Oct 2019 19:07:21 +1100 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Fri, 18 Oct 2019 19:07:20 +1100 Date: Fri, 18 Oct 2019 19:07:20 +1100 From: Herbert Xu To: Pascal van Leeuwen Cc: linux-crypto@vger.kernel.org, antoine.tenart@bootlin.com, davem@davemloft.net, Pascal van Leeuwen Subject: Re: [PATCH] crypto: inside-secure - Fix build error with CONFIG_CRYPTO_SM3=m Message-ID: <20191018080720.GP25128@gondor.apana.org.au> References: <1571326588-8013-1-git-send-email-pvanleeuwen@verimatrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1571326588-8013-1-git-send-email-pvanleeuwen@verimatrix.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Thu, Oct 17, 2019 at 05:36:28PM +0200, Pascal van Leeuwen wrote: > Always take the zero length hash value for SM3 from the local constant > to avoid a reported build error when SM3 is configured to be a module. > > Signed-off-by: Pascal van Leeuwen > --- > drivers/crypto/inside-secure/safexcel_hash.c | 8 ++------ > 1 file changed, 2 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