commit | 81fc9b5ccf84674ad70b1cdf29abd36397097d66 | [log] [tgz] |
---|---|---|
author | Tonghao Zhang <xiangxia.m.yue@gmail.com> | Tue Jul 25 00:00:26 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Jul 25 12:27:06 2017 -0700 |
tree | b9be5b1aafaec3ff800d95f0d932757ff223472f | |
parent | bc88055ab72c0eaa080926c888628b77d2055513 [diff] |
drivers/net: Fix ptr_ret.cocci warnings. 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@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>