summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorchongjiapeng <jiapeng.chong@linux.alibaba.com>2021-09-06 12:51:59 +0300
committerDavid S. Miller <davem@davemloft.net>2021-09-06 15:13:40 +0300
commit0c0383918a3ec4250e318cdbdd32e1caef12c14c (patch)
tree9ac1b2cd4be941b879521a35d9a5cbeeff42e812 /net
parentb109398a2206bf4bd3f6cb4fe678735387574d79 (diff)
downloadlinux-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')
0 files changed, 0 insertions, 0 deletions