From: Stephen Hemminger <stephen@networkplumber.org>
To: David Miller <davem@davemloft.net>
Cc: fengguang.wu@intel.com, kbuild-all@01.org,
sthemmin@microsoft.com, kys@microsoft.com,
haiyangz@microsoft.com, devel@linuxdriverproject.org,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] netvsc: fix ptr_ret.cocci warnings
Date: Mon, 24 Jul 2017 16:21:57 -0700 [thread overview]
Message-ID: <20170724162157.7a3b22fd@xeon-e3> (raw)
In-Reply-To: <20170724.162028.1773975039054477117.davem@davemloft.net>
On Mon, 24 Jul 2017 16:20:28 -0700 (PDT)
David Miller <davem@davemloft.net> wrote:
> From: kbuild test robot <fengguang.wu@intel.com>
> Date: Sat, 22 Jul 2017 02:54:43 +0800
>
> > drivers/net/hyperv/netvsc_drv.c:737:8-14: WARNING: PTR_ERR_OR_ZERO can be used
> >
> >
> > Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR
> >
> > Generated by: scripts/coccinelle/api/ptr_ret.cocci
> >
> > Fixes: 9749fed5d43d ("netvsc: use ERR_PTR to avoid dereference issues")
> > CC: stephen hemminger <stephen@networkplumber.org>
> > Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
>
> Applied to net-next.
That function is gone in the later patches.
next prev parent reply other threads:[~2017-07-24 23:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <201707220239.K3AMBOuR%fengguang.wu@intel.com>
2017-07-21 18:54 ` [PATCH] netvsc: fix ptr_ret.cocci warnings kbuild test robot
2017-07-24 23:20 ` David Miller
2017-07-24 23:20 ` David Miller
2017-07-24 23:21 ` Stephen Hemminger [this message]
2017-07-24 23:32 ` David Miller
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170724162157.7a3b22fd@xeon-e3 \
--to=stephen@networkplumber.org \
--cc=davem@davemloft.net \
--cc=devel@linuxdriverproject.org \
--cc=fengguang.wu@intel.com \
--cc=haiyangz@microsoft.com \
--cc=kbuild-all@01.org \
--cc=kys@microsoft.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=sthemmin@microsoft.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.