Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp1932342pxv; Fri, 23 Jul 2021 23:26:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJylZYx6kuP0nMJ32XUJWwTxdrBSehsHS1g/hedhBsFizl1Iaz9UvCyQ62VYUt41OKZLsvp8 X-Received: by 2002:a05:6638:3292:: with SMTP id f18mr7435905jav.120.1627107971138; Fri, 23 Jul 2021 23:26:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627107971; cv=none; d=google.com; s=arc-20160816; b=DEGXPNas/FMqnS0booC/hIMXvCIzTLvr5tT4yEdU72i0uWI5gv3GEljKGQ9fub+FnV m7lAJADWDVy6WYnsAN0YU8mixNf6WQm3YFj6u+jlvFrR0HV5pSKMZ9TgnnpuTD0oVAhY 6x6WFutZ9GUydWhQl1p2W+iisHOQrVhWOSkX0AELdpdarsQEC5kjFoPHkjoChqup4PM4 QSOgKxZOotFkmqS8reyopTGwms7m3euaYNZEVlZwQYV5yegyYmyVJg5gjxeqin4cVdC1 WcRa52ctMKEwfA498xyfDUKFHw8RJg7stEBTaXvpfQegCd02Fkf/xwJ9J1Q5OGLkW1fV O/vA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=+NyARxhy5pGJ796pSRC2Snry2000nGjm/5aIpfElxjs=; b=vjjBKVwlrpk4oFgDle2BeZJs2ZiP9Pbq/7x6pSPxUoJ97QWfmLGLvhZY0cdzaSNW35 SqINnbV1XfIvtDgzbvpUozpz0AxBja5USab/bV2+POIc3QDYgnA8PP38pzhRDz2RnOEN EnmxGQ7YGGX8eoY826fVM2JA7FUJ9jUPvEpANkWjjSMvj0fdo9rMztTi+vcpiOlZxGkq 5iQV7RyZFtvR29C6iMxIJjj7Lmg1lcEfahZpkjd+Guozm/Hw0mqg6qGaIwtQ6DbOfEb4 uKa3TvGFekyxa+CNbwyIR942I3a6g8pOzZZRc/1ayVbN8uhRrQCrTXVsm4aQBSzvxatp Vp+A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 s12si37527843iog.99.2021.07.23.23.25.43; Fri, 23 Jul 2021 23:26:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230077AbhGXFn1 (ORCPT + 99 others); Sat, 24 Jul 2021 01:43:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229824AbhGXFmN (ORCPT ); Sat, 24 Jul 2021 01:42:13 -0400 Received: from mail.sf-mail.de (mail.sf-mail.de [IPv6:2a01:4f8:1c17:6fae:616d:6c69:616d:6c69]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B13BCC061575 for ; Fri, 23 Jul 2021 23:22:45 -0700 (PDT) Received: (qmail 29130 invoked from network); 24 Jul 2021 06:21:54 -0000 Received: from p548c622d.dip0.t-ipconnect.de ([::ffff:84.140.98.45]:48018 HELO daneel.sf-tec.de) (auth=eike@sf-mail.de) by mail.sf-mail.de (Qsmtpd 0.38dev) with (TLS_AES_256_GCM_SHA384 encrypted) ESMTPSA for ; Sat, 24 Jul 2021 08:21:54 +0200 From: Rolf Eike Beer To: linux-kernel@vger.kernel.org, linux-alpha@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-ia64@vger.kernel.org, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, sparclinux@vger.kernel.org, iommu@lists.linux-foundation.org, linux-parisc@vger.kernel.org, xen-devel@lists.xenproject.org, Logan Gunthorpe Cc: Christoph Hellwig , Marek Szyprowski , Robin Murphy , Stephen Bates , Martin Oliveira , Logan Gunthorpe Subject: Re: [PATCH v2 21/21] dma-mapping: Disallow .map_sg operations from returning zero on error Date: Sat, 24 Jul 2021 08:22:28 +0200 Message-ID: <2591613.mvXUDI8C0e@daneel.sf-tec.de> In-Reply-To: <20210723175008.22410-22-logang@deltatee.com> References: <20210723175008.22410-1-logang@deltatee.com> <20210723175008.22410-22-logang@deltatee.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart11795432.O9o76ZdvQC"; micalg="pgp-sha1"; protocol="application/pgp-signature" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --nextPart11795432.O9o76ZdvQC Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Am Freitag, 23. Juli 2021, 19:50:08 CEST schrieb Logan Gunthorpe: > Now that all the .map_sg operations have been converted to returning > proper error codes, drop the code to handle a zero return value, > add a warning if a zero is returned and update the comment for the > map_sg operation. I see no comment being touched here. Eike --nextPart11795432.O9o76ZdvQC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQSaYVDeqwKa3fTXNeNcpIk+abn8TgUCYPuxpAAKCRBcpIk+abn8 TmEXAJ4y9fSVV7pgh2KPWXQ4YaTcwXP08ACgkfbFqKsGtxv2IZPJJiPcxo/F4Bg= =swGr -----END PGP SIGNATURE----- --nextPart11795432.O9o76ZdvQC--