diff options
| author | Dan Carpenter <[email protected]> | 2017-10-03 13:53:03 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-10-03 10:26:58 -0700 |
| commit | b508e0b6e47c85a095ef056f3de6ba9d396c490c (patch) | |
| tree | 6086b8e7e17275e98c9c9be323147c8b837bb2da /tools/perf/scripts/python/Perf-Trace-Util/Context.c | |
| parent | 360cc342c9037ed487adf07212000f69c0ffa14d (diff) | |
mlxsw: spectrum: Fix check for IS_ERR() instead of NULL
mlxsw_afa_block_create() doesn't return error pointers, it returns NULL
on error.
Fixes: 0e14c7777acb ("mlxsw: spectrum: Add the multicast routing hardware logic")
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Yotam Gigi <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions