diff options
author | Tonghao Zhang <xiangxia.m.yue@gmail.com> | 2017-07-25 00:00:26 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-25 12:27:06 -0700 |
commit | 81fc9b5ccf84674ad70b1cdf29abd36397097d66 (patch) | |
tree | b9be5b1aafaec3ff800d95f0d932757ff223472f /kernel/time | |
parent | bc88055ab72c0eaa080926c888628b77d2055513 (diff) | |
download | linux-81fc9b5ccf84674ad70b1cdf29abd36397097d66.tar.bz2 |
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>
Diffstat (limited to 'kernel/time')
0 files changed, 0 insertions, 0 deletions