diff options
author | Simon Horman <[email protected]> | 2024-08-06 11:56:01 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-08-08 19:43:06 -0700 |
commit | a39036847fa3a0cc09895e1693ef3ab5b74dce1e (patch) | |
tree | 40677f80e816f081afcebed17303fb6b8393201b /tools/perf/scripts/python/syscall-counts.py | |
parent | e47fd9beb1cec00f43077d6b6238c8d30bd03ecf (diff) |
bnx2x: Provide declaration of dmae_reg_go_c in header
Provide declaration of dmae_reg_go_c in header.
This symbol is defined in bnx2x_main.c.
And used in that file and bnx2x_stats.c.
However, Sparse complains that there is no declaration
of the symbol in dmae_reg_go_c nor is the symbol static.
.../bnx2x_main.c:291:11: warning: symbol 'dmae_reg_go_c' was not declared. Should it be static?
Address this by moving the declaration from bnx2x_stats.c to bnx2x_reg.h.
No functional change intended.
Compile tested only.
Signed-off-by: Simon Horman <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions