From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 36899C33C99 for ; Tue, 7 Jan 2020 11:48:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F05CA2070E for ; Tue, 7 Jan 2020 11:48:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1578397687; bh=8qjeX9MrQkMNc6hDd0oVrXP9gV7Uba7daKUNl7o3omQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=xCHi+DBscM6jyk3oNiak/OeyRkt/TDU9hC+AqPDkZb/FSKNEbrsH2fc+P+PkKXWWK 5Hqhe3uH3yNdXdq02kdJ0rgrUpKNgKVXlUblJA7DUjFumpD+sOKWssuelp25wAfAO2 q1bf2WDBsKEuVHKM20cI2/OgceA702pKm6FKuaIY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727985AbgAGLsG (ORCPT ); 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--