diff options
author | chongjiapeng <[email protected]> | 2021-09-06 17:51:59 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-09-06 13:13:40 +0100 |
commit | 0c0383918a3ec4250e318cdbdd32e1caef12c14c (patch) | |
tree | 9ac1b2cd4be941b879521a35d9a5cbeeff42e812 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | b109398a2206bf4bd3f6cb4fe678735387574d79 (diff) |
net: hns3: make hclgevf_cmd_caps_bit_map0 and hclge_cmd_caps_bit_map0 static
This symbols is not used outside of hclge_cmd.c and hclgevf_cmd.c, so marks
it static.
Fix the following sparse warning:
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c:345:35:
warning: symbol 'hclgevf_cmd_caps_bit_map0' was not declared. Should it
be static?
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c:365:33: warning:
symbol 'hclge_cmd_caps_bit_map0' was not declared. Should it be static?
Reported-by: Abaci Robot <[email protected]>
Signed-off-by: chongjiapeng <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions