Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp811160ybm; Wed, 27 May 2020 08:34:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzIZT3PU5mSMmthcvRbod6P/l041lGUYux/LmKRQakw3mN3C+H9v8pEgNZ9OxYRqGHYSZu6 X-Received: by 2002:a17:906:e211:: with SMTP id gf17mr6633072ejb.495.1590593656048; Wed, 27 May 2020 08:34:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590593656; cv=none; d=google.com; s=arc-20160816; b=re+Un+qJ0J8ybWoRUtCsE/7JT68wlLErUyMAt+/Fh1o5awptwxCEgbNmjrS0iE7q/c GN4G/7bc0jYEhGsBeKmchcGqBt3ljvtPRtx0O/IAx829uIvjb7Ktgvry0lfyu7BF4kK0 PrCDf0rdMByFipRf2reeAEKdUroXza0L1Ztwll3Ijb3LkDq7GB/hObDyS0O1k+KfJU5U 0LpRKZdM3hinEqans4943UFf7A1Vtg/w2qGor7nB2uW7orDMdVUzF+94eZpKafsGxHxa GSbAXrvFgs0C4Gh/M/Ei8lPRsdbl3s9yTSKfI1up8aUe/3/yTSRmycJRCf85lRFj8i1/ 2KzA== 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:dkim-signature; bh=yHPxx5r9WV3zA/SmpY1Eg7WTbX8X43s++csgc5GvexY=; b=pZ2FWBA+WkWW/6sNfoXSdbQD45caG8mQjMZlMAVtEj4oDlBmQ/3VA08Cv5JBaDjWyH 6RJ/Ar9reDvxQItTZaCa63aTK7B191O4Go9IjOMYZp8g+s87hUNCDrT9csb+I4pPNG23 UHaHVM+K47CWL7xm9kBB3blgHqFQ5FfZIxzuYCte8WKY9y/8UE0S4Lk6T19/bnmGXStf AT6E30yrXuFSyl6X9pr2HdcBpTFqEjSO5wXctvfGfWnAOdZr3Pb3qrkHUMekiBNBSs9x GWQkwwdIFXIgqK0J12P9hRWxCX0bgQhwz8Y4BAy2v81fnz/rNIDshJoAgytHlVMxVy2f Np2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="QJ5e/s/B"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c4si1905371edg.353.2020.05.27.08.33.52; Wed, 27 May 2020 08:34:16 -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; dkim=pass header.i=@kernel.org header.s=default header.b="QJ5e/s/B"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728896AbgE0KJN (ORCPT + 99 others); Wed, 27 May 2020 06:09:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:55516 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729758AbgE0KJM (ORCPT ); Wed, 27 May 2020 06:09:12 -0400 Received: from localhost (p54b33011.dip0.t-ipconnect.de [84.179.48.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D963820890; Wed, 27 May 2020 10:09:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590574152; bh=yHPxx5r9WV3zA/SmpY1Eg7WTbX8X43s++csgc5GvexY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QJ5e/s/B4XUN5LSz4MlcKt499k4rM5l5FOI9Ke3mIEMyDFBS4YWpN1XfOLC5LLhTO VFzRvdnHzWKp0rWsKXIphYwsRV/RCE1T2VLBn/Qh+FCIXbih4wGjoWOUNCw8MiRxNy /9UdcGijtqyFCYtwF1F4IKz1sNcBSsq7tcC6VlHo= Date: Wed, 27 May 2020 12:09:09 +0200 From: Wolfram Sang To: Samuel Zou Cc: ajayg@nvidia.com, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] i2c: nvidia-gpu: Use PTR_ERR_OR_ZERO() to simplify code Message-ID: <20200527100909.GD1161@ninjato> References: <1588755670-38476-1-git-send-email-zou_wei@huawei.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="LKTjZJSUETSlgu2t" Content-Disposition: inline In-Reply-To: <1588755670-38476-1-git-send-email-zou_wei@huawei.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --LKTjZJSUETSlgu2t Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 06, 2020 at 05:01:10PM +0800, Samuel Zou wrote: > Fixes coccicheck warning: >=20 > drivers/i2c/busses/i2c-nvidia-gpu.c:280:1-3: WARNING: PTR_ERR_OR_ZERO can= be used >=20 > Reported-by: Hulk Robot > Signed-off-by: Samuel Zou Thanks, but has been fixed already with http://patchwork.ozlabs.org/project/linux-i2c/patch/20200505145230.17251-1-= aishwaryarj100@gmail.com/ --LKTjZJSUETSlgu2t Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAl7OPEUACgkQFA3kzBSg KbY4Uw//bqrBvtas5lI1W3btxS5KD7yTOENLR7QT2TTN8C7zeVgUwFifV2FNeMl3 JmzN8r6XJ9ptwnHCFx4R+oufVdPFr4IIFRyJU1NDnOaRAisYdNy5YDiTGIsu5iil jI9wpVsnCZt5Fev9D7IaBMe/pPxewqogzwPP00qnSYvJmFzcMoFItBMA8WomjvoG tFqqbYfO3z7j4y7SbdM+GUytAjoymi/fgsvl3+1M/AKvCq75b0RtcIawClLvm1dN W3tshRGMPgtxi9jsivLcpzhPzYib1bGMC5fyW9iPKgIyyEeJtbQvAiybRbqYRL3O pMZnCpvFKF87dHZRU/iuaeVOCewXCfi63w0KDGSOseVlckViGsIq4eRXkcRBxKaE NZmcuObiKMwW768hPuVudz1yqSre7oF+E177JiohBiauV+ShHNYnI+cl5FVABcWo trUBjEYR8rQCq+SQft6ih9q81t2Jws6iOUYOg60mLIt1tO5tCDl9AkCsOW3gWDQW 0BYEE9B6CMDqCzljmOiVlU1YaZPNNqG1vWe/mYj7umvb4q9eZ26aJ1D7eLLJVTZH mfOh/vGbpedUV3/z2b+QtsezCi/8wtOsrl1GtLQJOHyU23JUGXtzn8bkwi10Nvjo P4esZq37OJeud5l63vJJ3MaxuuWZToTzOxzqGh3itv5DPaFyQDk= =bBbu -----END PGP SIGNATURE----- --LKTjZJSUETSlgu2t--