Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp811444ybm; Wed, 27 May 2020 08:34:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxSxMTowdf7IaCRGHHaBJHr2fBJsH5WSDBybEzKouZDqpWgSB87h35BYgIKnpIOMLcREVV+ X-Received: by 2002:aa7:d492:: with SMTP id b18mr25013895edr.28.1590593678591; Wed, 27 May 2020 08:34:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590593678; cv=none; d=google.com; s=arc-20160816; b=B0Y8/LktgBe+jl5jwpL7fRPomLrQyM6BMBI4Biq0pLTTVxc0uvgdephtrsyY10YPOv EBW+MP/bZvcAX+d6aS/0JiDK7LLEMpH5QNthbZyInK4WsEDEhYQIgmqJDnGQf3Jmloz9 qzvI2yP3476yiwyPz3X8dMdq7A2soZBFKarvp5He8neB7Tk4ocjG0h7jCkaLkVK6kvmm bvPg/vlPw2HyVBXFjKB9Fy+N8F4ZyDnpSpxeb/LlDeGbQbi774Z0NuTuqVB8rweSrChM M7sk6OmqjcdVproCpqZvZ7I6xsJYOuVFM9/XUtGhoH8oMfsYrmRbcJr5RkIWfcZ+eptP 36Lw== 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=cc9QKr6LDeOCWWGhxNZw+5SMcN1zEav0lU2/Q6oBAUo=; b=y32K2GbZ+b3YIICC/3gd4o2Arjhjte1NyuZfK2EUWuOYd9yRwSautrpiftx5H/XnQ6 KVqWeXEZhuZPVTRrb8qP55NuUjxHgvOYfPF7mPf10UqsBY0U66nCfOOe8WdIMuQJWB84 OsXQgndGJPArWf50RQtDLgcSxqOZTwmHFheQ+DqujMCYEZXU9HctzfBLdp4vPGDNAHVI UTCkELqsDPmWmqXJr0si75LY/AYuo6nlz0lC70ja+8x6Jpz4yA2BIzUsAeaiCD2XKoJ2 pfSwjnnSh+fyaCyb+ElJ5hxyNl1NJEF4b+OpiC9luJDvkuW5obzMrDys6cOmQCJjxHeN C7zQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="je7gCL/k"; 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 i24si1705885edq.251.2020.05.27.08.34.14; Wed, 27 May 2020 08:34:38 -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="je7gCL/k"; 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 S1729619AbgE0KIq (ORCPT + 99 others); Wed, 27 May 2020 06:08:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:55440 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729517AbgE0KIp (ORCPT ); Wed, 27 May 2020 06:08:45 -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 B892E20890; Wed, 27 May 2020 10:08:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590574125; bh=cc9QKr6LDeOCWWGhxNZw+5SMcN1zEav0lU2/Q6oBAUo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=je7gCL/kvV9fdSG4QNgHSmT1DVZAeSoGPX2aeaeWSsRv7V5eq72Gt10n+YVAh1VV+ 1p/sYQqi7XyuLg5O1+pItyITy6bWUrrEXJ5FgQXdQC0TdqP1p+5hn65SiLBhBDPmas cGUFmy8GJxeoBsbuR/hre9bG5QCXamghxvgybXkw= Date: Wed, 27 May 2020 12:08:41 +0200 From: Wolfram Sang To: Aishwarya Ramakrishnan Cc: Ajay Gupta , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] i2c: nvidia-gpu: Use PTR_ERR_OR_ZERO() to simplify code Message-ID: <20200527100841.GC1161@ninjato> References: <20200505145230.17251-1-aishwaryarj100@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="MnLPg7ZWsaic7Fhd" Content-Disposition: inline In-Reply-To: <20200505145230.17251-1-aishwaryarj100@gmail.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 --MnLPg7ZWsaic7Fhd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 05, 2020 at 08:22:30PM +0530, Aishwarya Ramakrishnan wrote: > PTR_ERR_OR_ZERO contains if(IS_ERR(...)) + PTR_ERR. >=20 > Generated by: scripts/coccinelle/api/ptr_ret.cocci >=20 > Signed-off-by: Aishwarya Ramakrishnan Applied to for-next, thanks! --MnLPg7ZWsaic7Fhd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAl7OPCkACgkQFA3kzBSg KbbSpA/9FqBiC2UBTxstqlT/fYjokyTIjMrkNh5be/VjqFIbMqTJQwYegSVdJVsp zkO0QYVmp9yqWkPNN+4Aw2UMaLsEifK8OGnvm2Pwkmu7HiNbMzUeJmvmRoVZMJdC jLaG2LXw833unbp9WPefBne6KSlw24KXlAScISIvIicOW3Shprt4in8NIGfANGL2 2uBknXRIAsd/8EiBuGzmzS6E6nXAB1ezpYMnEJfVWkcb+YydxWx/x1Bn2c4ETBSC K6MTV2jocNLITA/U+e/wrhxV6KumZO9ewU2j4eR+yxzimD4hKRWqRbhPpY+9LZns +n2ZUw0OTfrpVegm5WQs+wR7Nddus0Udwqz6bfp+ufzFylfLmJWK5LU1jwGO2rgQ RXEC34loGfvmbPVXX2INOVA+r4Wo5zlkbIA9erW4ccEmTbR732vR0GRa8P9Sh3Gc wj+O/RqMUJVJrv2SbpoRjD81qOWPfn/0SBous13NOIcDuw5bdHLhy9sQCMjIL0Q7 4E7ujIvV29Va7Xg7vKUI6ahOT0egKHDhTlkoBMlQ2atAUq0EXRBE0HOHgTzuxpw8 ydiv++tj/zXl7e4lqUjwhZGCRV0tGg2c8A/qxuXEIxrRCuf0jwN5eJT8ZtAzu+4q yBtdbjBDTCNeoQBHfhMKD6+J4XEfxON4GRkPzjzCp+01A5t+juY= =+BuH -----END PGP SIGNATURE----- --MnLPg7ZWsaic7Fhd--