diff options
author | chongjiapeng <jiapeng.chong@linux.alibaba.com> | 2021-09-06 12:51:59 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-09-06 15:13:40 +0300 |
commit | 0c0383918a3ec4250e318cdbdd32e1caef12c14c (patch) | |
tree | 9ac1b2cd4be941b879521a35d9a5cbeeff42e812 /net/ipv6/ip6_gre.c | |
parent | b109398a2206bf4bd3f6cb4fe678735387574d79 (diff) | |
download | linux-0c0383918a3ec4250e318cdbdd32e1caef12c14c.tar.xz |
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 <abaci@linux.alibaba.com>
Signed-off-by: chongjiapeng <jiapeng.chong@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_gre.c')
0 files changed, 0 insertions, 0 deletions