Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp165778ybl; Tue, 7 Jan 2020 04:10:50 -0800 (PST) X-Google-Smtp-Source: APXvYqxETcbk6UMy/uGmq7rlaOKbDsrwUuU5jh3pZFDRNEnKTpiAdNpNUGNONrdqBneVLwuo1ZYB X-Received: by 2002:a05:6830:1f95:: with SMTP id v21mr115688112otr.325.1578399050547; Tue, 07 Jan 2020 04:10:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578399050; cv=none; d=google.com; s=arc-20160816; b=qZPP7CwAbnta+7LJc3UCrNnSW37Y21O/Uw3Fd9kdywTvOxKidnBRWzhy0OddCgZ1Rl JsazB8O2V28UW6vnx8mfxetU+fVNBAZaeM9rx2e401C5euDnVcp4667JSj5YGpbiChDB Z7Peh5oGpyBDiVEkVkRPcgJXMIG2msb857bZs1BMdAzCW9ZewutbkaNl2Gu5aFvzQxsO JnxJ84kGM6YosuoVmS6mYv5XefWheSn2OoNmK/HgFZ2V1E/uqbjgL17K3pACxyvdRQJi Y2WyeNGyN4fCbxdPcy/aIHOyiI4tXyG1Lv1I/p+mBDTfu1nmZGrbTqH+2dew7/LqGuJi mgFw== 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=8qjeX9MrQkMNc6hDd0oVrXP9gV7Uba7daKUNl7o3omQ=; b=vA4Rl/+k3jRwUW9/xpaO00mZFQ+kLNz+6oY8hAPLeF09h+xDxGI5S4w/wSsgC4SzA5 KbEdljzOkubYL9BgBdVUIdcC4NrJOhI6Nj6SsgKArWCjxLB5FxukjeRegfJxjKlKS0gP AKPivBJC8Z6SKL9Pam4XkLoQwc1e/uILNZgz+mlKsoDNEvo6qGBMWbqpbJwUPl7O4+Mk Sc3yKU+/wcqbiuHG0Aa1xmaSxe1ZBZkN0pPeTcgtCsUUS1IFsxSa/2/H0uJ6WptD2fGX gZhH1wXSgDEwRX6nR7mdL+5oR31Y+Jq6g/MvY8g4v6bH5xLyv6/HuXYouorVx5f2NMXU wZ9A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q2si31009278oti.273.2020.01.07.04.10.37; Tue, 07 Jan 2020 04:10:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727981AbgAGLsG (ORCPT + 99 others); Tue, 7 Jan 2020 06:48:06 -0500 Received: from foss.arm.com ([217.140.110.172]:56490 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727973AbgAGLsF (ORCPT ); Tue, 7 Jan 2020 06:48:05 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 56BC7328; Tue, 7 Jan 2020 03:48:05 -0800 (PST) Received: from localhost (unknown [10.37.6.21]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B7B983F534; Tue, 7 Jan 2020 03:48:04 -0800 (PST) Date: Tue, 7 Jan 2020 11:48:01 +0000 From: Mark Brown To: Maxime Ripard Cc: Julia.Lawall@lip6.fr, Gilles.Muller@lip6.fr, nicolas.palix@imag.fr, michal.lkml@markovi.net, cocci@systeme.lip6.fr, linux-kernel@vger.kernel.org, Jani Nikula , Thierry Reding , Tomi Valkeinen Subject: Re: [PATCH] coccinnelle: Remove ptr_ret script Message-ID: <20200107114801.GB4877@sirena.org.uk> References: <20200107073629.325249-1-maxime@cerno.tech> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="OwLcNYc0lM97+oe1" Content-Disposition: inline In-Reply-To: <20200107073629.325249-1-maxime@cerno.tech> X-Cookie: Will Rogers never met you. 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 --OwLcNYc0lM97+oe1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Jan 07, 2020 at 08:36:29AM +0100, Maxime Ripard wrote: > The ptr_ret script script addresses a number of situations where we end up > testing an error pointer, and if it's an error returning it, or return 0 > otherwise to transform it into a PTR_ERR_OR_ZERO call. Reviewed-by: Mark Brown --OwLcNYc0lM97+oe1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl4Ub/EACgkQJNaLcl1U h9AFuwf/fsXO9OUgtdPDsnD/4fMNSl2/bkAK7o5sd+/TPgPzv/q/IGJ7FcFXwjs6 ONuvBPB+h2paciCSU9VsIfHswdcD96K5sqD/D3h5Ou1rJyccz1sYO16R7q6HSpAD VpJYOq6vNuMZir1UaIDEnPHwfVZjkfwPWtv8pWA48VfKFvJ8J6GhsrYDmUed71FA 7XXhVWffVr6OJlCDyqdExS3nB8p/xQjymz+VoEA6pGAZhvfOIXdkEuNFP6et9LEa lI5abF8+hX1e14JsznU08pAJ4PGpsLDpfIyR6pOxbv20Tb+KPIjHALPthTJUEtkh kz42yOtNeEzHJp33SuP/egBXI6eVJw== =kvo0 -----END PGP SIGNATURE----- --OwLcNYc0lM97+oe1--