aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorJian Shen <[email protected]>2020-03-18 11:57:05 +0800
committerDavid S. Miller <[email protected]>2020-03-21 20:22:25 -0700
commit027fd5316005fd524d963fe879d5bf24eee2ab85 (patch)
tree28c0021fcc3493bd93fb69b494958dcfeac55a9a /scripts/gcc-plugins/cyc_complexity_plugin.c
parent09984483db080b541c8242d846c30bc1e6a194e1 (diff)
net: hns3: add a conversion for mailbox's response code
Currently, when mailbox handling fails, the PF driver just responds 1 to the VF driver. It is not sufficient for the VF driver to find out why its mailbox fails. So the error should be responded to VF, but the error is type int and the response field in struct hclge_mbx_pf_to_vf_cmd is type u16, a conversion is needed. 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 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions