diff options
author | Nathan Chancellor <natechancellor@gmail.com> | 2020-03-14 06:40:20 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2020-03-18 05:41:13 +0300 |
commit | 9d3faa51bef05d21e908f2c1bd932a5cfac59b63 (patch) | |
tree | e7f2953b44e2dd64b879208ea0209ca4b749220d /tools/perf/scripts/python/syscall-counts.py | |
parent | 86e85bf6981c0c265c427d6bfe9e2a0111797444 (diff) | |
download | linux-9d3faa51bef05d21e908f2c1bd932a5cfac59b63.tar.xz |
net/mlx5: Add missing inline to stub esw_add_restore_rule
When CONFIG_MLX5_ESWITCH is unset, clang warns:
In file included from drivers/net/ethernet/mellanox/mlx5/core/main.c:58:
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h:670:1: warning: unused
function 'esw_add_restore_rule' [-Wunused-function]
esw_add_restore_rule(struct mlx5_eswitch *esw, u32 tag)
^
1 warning generated.
This stub function is missing inline; add it to suppress the warning.
Fixes: 11b717d61526 ("net/mlx5: E-Switch, Get reg_c0 value on CQE")
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions