diff options
author | YueHaibing <[email protected]> | 2020-10-31 14:01:53 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2020-11-02 17:34:26 -0800 |
commit | 92f9e238c909ef9b4a138f47bdca856fc0c8b78a (patch) | |
tree | 5c549adb4f7fd86e55aa16041347ba4a8efdb471 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 36ed77cd0535728709d38e3f676db7958188765c (diff) |
openvswitch: Use IS_ERR instead of IS_ERR_OR_NULL
Fix smatch warning:
net/openvswitch/meter.c:427 ovs_meter_cmd_set() warn: passing zero to 'PTR_ERR'
dp_meter_create() never returns NULL, use IS_ERR
instead of IS_ERR_OR_NULL to fix this.
Signed-off-by: YueHaibing <[email protected]>
Acked-by: Tonghao Zhang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions