LKML Archive on
help / color / mirror / Atom feed
From: Ben Dooks <>
To: Hariprasad Kelam <>,
	Thierry Reding <>,
	David Airlie <>, Daniel Vetter <>,
	Jonathan Hunter <>,,,
Subject: Re: [PATCH] drm/tegra: fix warning PTR_ERR_OR_ZERO can be used
Date: Sun, 26 May 2019 23:27:43 +0100	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <20190525070353.GA6727@hari-Inspiron-1545>

On 25/05/2019 08:03, Hariprasad Kelam wrote:
> fix below warnings reported by coccicheck
> /drivers/gpu/drm/tegra/drm.c:509:1-3: WARNING: PTR_ERR_OR_ZERO can be
> used
> ./drivers/gpu/drm/tegra/gem.c:419:1-3: WARNING: PTR_ERR_OR_ZERO can be
> used

I'd say the coccicheck should say "Improvement:" here, it's not
something wrong, just code that has a better call available.

Ben Dooks
Senior Engineer				Codethink - Providing Genius

      reply	other threads:[~2019-05-26 22:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-25  7:03 Hariprasad Kelam
2019-05-26 22:27 ` Ben Dooks [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \ \
    --subject='Re: [PATCH] drm/tegra: fix warning PTR_ERR_OR_ZERO can be used' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).