diff options
author | Wu Fengguang <[email protected]> | 2015-10-20 14:56:00 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-10-21 19:38:26 -0700 |
commit | c6aa74d546ccb94c99a1e95fb461f8b0e9410a3e (patch) | |
tree | 02a727654ec1ee60e2f2f0f038308894acf9cfdb /scripts/gdb/linux/lists.py | |
parent | feec0cb3f20b837f8ca36e974267918d7a4497f8 (diff) |
net: hisilicon: fix ptr_ret.cocci warnings
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 <[email protected]>
Signed-off-by: Fengguang Wu <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions