Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp71427ybx; Thu, 31 Oct 2019 23:13:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqw9TTgN38jhkdoMeW08ttjY5QfUTXMXxXk0h4HahleubI+Bgyqb5m4k2ti5LGkbfEfScO9O X-Received: by 2002:a50:b558:: with SMTP id z24mr10703303edd.67.1572588819780; Thu, 31 Oct 2019 23:13:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572588819; cv=none; d=google.com; s=arc-20160816; b=dXrFw9NFbkVP5M/FL+0BrwSteNf72pN/k0L6qAwcN49vbK3nxgjdijtasOPtDw8PRg Csy+e0tPfrki/sJeKQvOwfJo08PiILK+0g1qZTZli4ZMvjWR2H5OxhE03idFKMjl6R42 0o66ozKBEjIoBA38J/3JJOKylJcmI09m24Yu9mwJ2hh7qVwnkJE1/jmA3nlIMo5S/b+h r6xZTTkc2vQLQlShkmxgHMOOKe+GUsudCzv6OM9R9BbRzy6AcjD+xTLrLwh6i0YOFRHY ohGM5bPwlYu5O8gzn/M8ZSRr/CQPGMIEOpSAmJhpE8sm0/NyYZX9eofiaMBvPtUqFT4S cEIQ== 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=5bUlyH/mqYgv/FEA6t7UEHXg2mV3ePwU0e13wjDcHqk=; b=q57kT12U5JARJc4so2EXPUabhsPgiONWvF+pFTvMNilX6Eyao8zF7g3nI991BhiDBy 3jTY+Fc3LWS8pxwsLqcw2qN7JGUFFRShlj4FOpH/Zpj+byfwae/U9MwjLMWanCFsjNEz eAI3lU38DaOVy079qiA4kdqbrqKPxeuSlGyEZHohVS5OoNEDp3BqE/WkaR7WBEfqea2C wdPCnguDn1pc86TLFIVnWJJyazXnZSMUdTfyacVgusdW8WrYE81EcdB5BIdd+49hzJ2P yJl9RZTduTCjUxQTLJxPWTciuwLSHegrLKub6bhQDK/e56YHXSdS0kTAuqP/RJqDdOmX +acQ== 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 k18si6040788ede.144.2019.10.31.23.13.16; Thu, 31 Oct 2019 23:13:39 -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 S1725784AbfKAGNM (ORCPT + 99 others); Fri, 1 Nov 2019 02:13:12 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:37776 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725280AbfKAGNM (ORCPT ); Fri, 1 Nov 2019 02:13:12 -0400 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtps (Exim 4.89 #2 (Debian)) id 1iQQBJ-000200-IJ; Fri, 01 Nov 2019 14:13:09 +0800 Received: from herbert by gondobar with local (Exim 4.89) (envelope-from ) id 1iQQBH-0004vE-GG; Fri, 01 Nov 2019 14:13:07 +0800 Date: Fri, 1 Nov 2019 14:13:07 +0800 From: Herbert Xu To: Zhou Wang Cc: "David S. Miller" , linux-crypto@vger.kernel.org Subject: Re: [PATCH] crypto: hisilicon - use sgl API to get sgl dma addr and len Message-ID: <20191101061307.xu2d7hjjhxddlzyw@gondor.apana.org.au> References: <1572058641-173376-1-git-send-email-wangzhou1@hisilicon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1572058641-173376-1-git-send-email-wangzhou1@hisilicon.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Sat, Oct 26, 2019 at 10:57:21AM +0800, Zhou Wang wrote: > Use sgl API to get sgl dma addr and len, this will help to avoid compile > error in some platforms. So NEED_SG_DMA_LENGTH can be removed here, which > can only be selected by arch code. > > Signed-off-by: Zhou Wang > Suggested-by: Herbert Xu > --- > drivers/crypto/hisilicon/Kconfig | 1 - > drivers/crypto/hisilicon/sgl.c | 4 ++-- > 2 files changed, 2 insertions(+), 3 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