[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20151021.193859.847257260524575794.davem@davemloft.net>
Date: Wed, 21 Oct 2015 19:38:59 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: fengguang.wu@...el.com
Cc: arnd@...db.de, kbuild-all@...org, netdev@...r.kernel.org,
huangdaode@...ilicon.com, liguozhu@...wei.com,
Yisen.Zhuang@...wei.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: hisilicon: fix ptr_ret.cocci warnings
From: kbuild test robot <fengguang.wu@...el.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@...db.de>
> Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
Applied to net-next, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists