aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorJian Shen <[email protected]>2019-04-15 21:48:38 +0800
committerDavid S. Miller <[email protected]>2019-04-15 13:39:19 -0700
commit8a9a654b5b5233e7459abcc5f65c53df14b33f67 (patch)
tree1e6a94ee0c9969e4d893487ac17717467cca7652 /tools/perf/scripts/python/syscall-counts.py
parentc7cf89b5dd38a9f2aa410f70f80ba0c4c4d02239 (diff)
net: hns3: fix sparse: warning when calling hclge_set_vlan_filter_hw()
The input parameter "proto" in function hclge_set_vlan_filter_hw() is asked to be __be16, but got u16 when calling it in function hclge_update_port_base_vlan_cfg(). This patch fixes it by converting it with htons(). Reported-by: kbuild test robot <[email protected]> Fixes: 21e043cd8124 ("net: hns3: fix set port based VLAN for PF") Signed-off-by: Jian Shen <[email protected]> Signed-off-by: Huazhong Tan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions