diff options
author | Eran Ben Elisha <eranbe@mellanox.com> | 2019-02-19 15:05:12 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-02-22 13:38:24 -0800 |
commit | 772ac5e284c7cee1f377f01fcc3e88cc5dc9fb12 (patch) | |
tree | e1700e7cf5bd6c9e69c93da41e2c4d3bcb83fcad /lib/xxhash.c | |
parent | 97417f6182f80a80c9b4443f282ef707be74dade (diff) | |
download | linux-772ac5e284c7cee1f377f01fcc3e88cc5dc9fb12.tar.bz2 |
net/mlx5e: Fix warn print in case of TX reporter creation failure
Print warning message in case of TX reporter creation failure, only if the
return value is ERR_PTR type. NULL pointer return indicates that
NET_DEVLINK is not set, and the warning print can be skipped.
Fixes: de8650a82071 ("net/mlx5e: Add tx reporter support")
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'lib/xxhash.c')
0 files changed, 0 insertions, 0 deletions