提交 bc0ee163 编写于 作者: L Lad, Prabhakar 提交者: David S. Miller

be2net: fix sparse warning

this patch fixes following sparse warning:

be_cmds.c:2750:5: warning: symbol 'be_cmd_set_qos' was not declared. Should it be static?
Signed-off-by: NLad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 4a95b6d0
...@@ -2747,7 +2747,7 @@ int be_cmd_get_phy_info(struct be_adapter *adapter) ...@@ -2747,7 +2747,7 @@ int be_cmd_get_phy_info(struct be_adapter *adapter)
return status; return status;
} }
int be_cmd_set_qos(struct be_adapter *adapter, u32 bps, u32 domain) static int be_cmd_set_qos(struct be_adapter *adapter, u32 bps, u32 domain)
{ {
struct be_mcc_wrb *wrb; struct be_mcc_wrb *wrb;
struct be_cmd_req_set_qos *req; struct be_cmd_req_set_qos *req;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册