Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3202902pxu; Tue, 15 Dec 2020 00:54:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJzM9LGcXN2uleEtJagwGGuQj3c94Lr4ui8lYMXgfezQtbd2X7LnJUUT8OoSJjUqNgaOH5uW X-Received: by 2002:a05:6402:b2f:: with SMTP id bo15mr15650311edb.220.1608022448192; Tue, 15 Dec 2020 00:54:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608022448; cv=none; d=google.com; s=arc-20160816; b=Rw4PfKu/HzeVyNKCM9q2tvEF/Uhnnv2DRlOJ3wSNbVwBXvTEScBOh0h4BVx1JE2cpC nG/6QNWfuOJDJOP6xV5EoLDiu0+jhirqiUG0X3LR5GeOxWJLDYBWLwSG0bfo9AiZf21B cnLD/iZeJxkPsv5xEonB+/+hW19MEZdtS778XcnjcYvkUnlZoFQsf+9BDaXzlwPMdesi dSJXDC7tsrAwF/m+W1ryQ6r9BeSL/Ju8s3B2eHTCo4L42Okl3N2pqN5onMa4Tgh4d+eG W6HRZD7U1/KlG4XZzKrXz+DO8DxWvgUT3TdQrWJSNxerUYXIFYoVmnTjnhEiPQI+sew/ xfjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=IXKNr+xuSGlIaAvPVvexwRMd7ojvcI9cuuFmG+xxnUg=; b=EjAPOq4vTQ8Fk+FLIzfqbBdcxQ/6g+2eY/lq+V3TpZaBubc6GlWpDFqH+GYTMbNwDn TkBkKLBW4rPTsue4M1VMY+1HWkFa167etSX3HQNwnTUSHxOj6zs6PlwG9ihrBJsKUDDx q8Yp6tze+ldbXqEnxsyARlcuZl9vIoEMJuaNChKuWnwrbcGK3CkW+cKbPWTYTg3dgHke YFuai0Z3F4y9mga31WXZv/jODf1Il+twS9PgZrV8a2UitOrPEaD/GOih5gO0868nFQ4/ aWFdJMTC3Up3zBiZF1xWAjR6vWvbQF1xYWAHzF6cVeQ6USMb0RFmaoXCOk4v4mYw4wZ8 hAng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm1 header.b=oWfGyvxJ; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=R7DImCA3; 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=cerno.tech Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u9si512192edd.26.2020.12.15.00.53.45; Tue, 15 Dec 2020 00:54:08 -0800 (PST) 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=@cerno.tech header.s=fm1 header.b=oWfGyvxJ; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=R7DImCA3; 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=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727512AbgLOIvc (ORCPT + 99 others); Tue, 15 Dec 2020 03:51:32 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:33941 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727531AbgLOIvN (ORCPT ); Tue, 15 Dec 2020 03:51:13 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 2EA145C01CC; Tue, 15 Dec 2020 03:50:23 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Tue, 15 Dec 2020 03:50:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=IXKNr+xuSGlIaAvPVvexwRMd7oj vcI9cuuFmG+xxnUg=; b=oWfGyvxJmAQv6ks5EDqLui6fhnmt1Sam9aeGLK9I/vg yy8K+rHhiO/R/THqphqPbE8MIkDBO6O+6q8/yy4KvyNw+urI7jMDiXF6sH5ZoTN5 +4zjY2JKGRMippb5AUKUAJSAEr12mIHsFeeLdbYHhqoJZcz36KhzRC3EdemnIhEy VBGGmVBiWt6CpqkPPqzVzKrYDEXRA9deMvkq1FYNrZx3uGvGcLea+8HgkCvU3LIL msULsOmmTCWRy9oIUf7z3wC4HKX8Ydm5ae4wo36TtBDQXfniUfOTeGB0Gh/CBWSt AGr2WRiUM4Gm+fG2ia+fDzpsVD9c4Q6SFxysyEs2zAQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=IXKNr+ xuSGlIaAvPVvexwRMd7ojvcI9cuuFmG+xxnUg=; b=R7DImCA32dvcTNcP9M676F PLK187xfBfdD+0z/mqNft2lSmy+ZHInoYqX7lSIzMubuEhv7nDtsqo3E9hK1FpRh I6TGN98tcXHx2ICRHh9nHmPivGXrPbP0iw5991eFDkFRm6s+houDRXnsNCaHijWw CyFXlHlWzcLWjiq8j1h4jtqbDFk59dwjYP6SOoUMZThmVEQH98qh28JR9sje0Xco 7tblmWub+n8BCm8+LMchbomrAtXXI/Xg8QlFDkEf92NIZMPjf01xyygIzwS8fgF1 oRNQbpjOsNDVzvZwdkmOinf0lWqIOJcUnVdJoW3ai7VOp9R7IJay5rLzAl0R6Rcg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudekledguddviecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofgrgihi mhgvucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrg htthgvrhhnpeevveefffduveeitdegtefhhfetueffteefffdvheevvdehteethedvleff gfejvdenucffohhmrghinhepkhgvrhhnvghlrdhorhhgnecukfhppeeltddrkeelrdeike drjeeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhep mhgrgihimhgvsegtvghrnhhordhtvggthh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id B00BA108005C; Tue, 15 Dec 2020 03:50:21 -0500 (EST) Date: Tue, 15 Dec 2020 09:50:20 +0100 From: Maxime Ripard To: Tian Tao Cc: wens@csie.org, airlied@linux.ie, daniel@ffwll.ch, jernej.skrabec@siol.net, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drm/sun4i: hdmi: Use PTR_ERR_OR_ZERO() to simplify code Message-ID: <20201215085020.ty5ztxaf6v3o5b6o@gilmour> References: <1607998571-59729-1-git-send-email-tiantao6@hisilicon.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="cg5aywfc4cw4qsir" Content-Disposition: inline In-Reply-To: <1607998571-59729-1-git-send-email-tiantao6@hisilicon.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --cg5aywfc4cw4qsir Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Tue, Dec 15, 2020 at 10:16:11AM +0800, Tian Tao wrote: > Fixes coccicheck warning: > drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c:281:1-3: WARNING: PTR_ERR_OR_ZERO > can be used >=20 > Signed-off-by: Tian Tao That script shouldn't be there anymore, see: https://lore.kernel.org/cocci/alpine.DEB.2.21.2001071106420.3004@hadrien/#t Maxime --cg5aywfc4cw4qsir Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCX9h4zAAKCRDj7w1vZxhR xWGDAP9kXXZO1A/r0uzBeLeKaoVWi4D0OBQ2xe8hdEdNYpOPCwEAjSGzbCP30JLm DTeWfJ3oDTQaCkHwNTTTdXHDJr1t4w4= =drVT -----END PGP SIGNATURE----- --cg5aywfc4cw4qsir--