[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170725.122752.1877973425914551167.davem@davemloft.net>
Date: Tue, 25 Jul 2017 12:27:52 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: xiangxia.m.yue@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] drivers/net: Fix ptr_ret.cocci warnings.
aFrom: Tonghao Zhang <xiangxia.m.yue@...il.com>
Date: Tue, 25 Jul 2017 00:00:26 -0700
> we can use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR
> 1. drivers/net/appletalk/ipddp.c
> 2. drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.c
>
> Generated by: scripts/coccinelle/api/ptr_ret.cocci
>
> Signed-off-by: Tonghao Zhang <xiangxia.m.yue@...il.com>
Applied to net-next, thanks.
Powered by blists - more mailing lists