diff options
| author | Jiapeng Zhong <[email protected]> | 2021-01-25 10:39:41 +0800 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2021-01-25 18:23:07 -0800 |
| commit | 8d21c882aba8004bb996270589c17ba71e100a16 (patch) | |
| tree | 35e41175f3e3675931c6bf460c78bad59fec5f84 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | b9b7421a01d82c474227fce04f0468f1c70be306 (diff) | |
bridge: Use PTR_ERR_OR_ZERO instead if(IS_ERR(...)) + PTR_ERR
coccicheck suggested using PTR_ERR_OR_ZERO() and looking at the code.
Fix the following coccicheck warnings:
./net/bridge/br_multicast.c:1295:7-13: WARNING: PTR_ERR_OR_ZERO can be
used.
Reported-by: Abaci <[email protected]>
Signed-off-by: Jiapeng Zhong <[email protected]>
Acked-by: Nikolay Aleksandrov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions