From: David Miller <davem@davemloft.net>
To: fengguang.wu@intel.com
Cc: arnd@arndb.de, kbuild-all@01.org, netdev@vger.kernel.org,
huangdaode@hisilicon.com, liguozhu@huawei.com,
Yisen.Zhuang@huawei.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] net: hisilicon: fix ptr_ret.cocci warnings
Date: Wed, 21 Oct 2015 19:38:59 -0700 (PDT) [thread overview]
Message-ID: <20151021.193859.847257260524575794.davem@davemloft.net> (raw)
In-Reply-To: <20151020065600.GA104525@lkp-ib03>
From: kbuild test robot <fengguang.wu@intel.com>
Date: Tue, 20 Oct 2015 14:56:00 +0800
> drivers/net/ethernet/hisilicon/hns/hnae.c:442:1-3: 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
>
> CC: Arnd Bergmann <arnd@arndb.de>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Applied to net-next, thanks.
prev parent reply other threads:[~2015-10-22 2:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-20 6:56 [net-next:master 241/245] drivers/net/ethernet/hisilicon/hns/hnae.c:442:1-3: WARNING: PTR_ERR_OR_ZERO can be used kbuild test robot
2015-10-20 6:56 ` [PATCH] net: hisilicon: fix ptr_ret.cocci warnings kbuild test robot
2015-10-22 2:38 ` David Miller [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:
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=20151021.193859.847257260524575794.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=Yisen.Zhuang@huawei.com \
--cc=arnd@arndb.de \
--cc=fengguang.wu@intel.com \
--cc=huangdaode@hisilicon.com \
--cc=kbuild-all@01.org \
--cc=liguozhu@huawei.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox