net: hns3: hclge_inform_reset_assert_to_vf() can be static
authorkbuild test robot <fengguang.wu@intel.com>
Thu, 22 Mar 2018 21:31:07 +0000 (05:31 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Mar 2018 17:17:46 +0000 (13:17 -0400)
Fixes: 2bfbd35d8ecd ("net: hns3: Changes required in PF mailbox to support VF reset")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c

index 39013334a613202c1bc546530dd90364bb37cfa0..a6f7ffa9c25975df834dae0e777d369efc29ccd8 100644 (file)
@@ -79,7 +79,7 @@ static int hclge_send_mbx_msg(struct hclge_vport *vport, u8 *msg, u16 msg_len,
        return status;
 }
 
-int hclge_inform_reset_assert_to_vf(struct hclge_vport *vport)
+static int hclge_inform_reset_assert_to_vf(struct hclge_vport *vport)
 {
        u8 msg_data[2];
        u8 dest_vfid;