]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
be2net: fix a sparse warning in be_cmd_modify_eqd()
authorKalesh AP <kalesh.purayil@emulex.com>
Fri, 19 Sep 2014 10:16:51 +0000 (15:46 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Sep 2014 19:01:07 +0000 (15:01 -0400)
This patch fixes a sparse warning about missing static declaration that was
introduced by the following commit:

fixes: 936767039cdf ("be2net: send a max of 8 EQs to be_cmd_modify_eqd() on Lancer")

Signed-off-by: Kalesh AP <kalesh.purayil@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_cmds.c

index cd213d967529bd914072771d7033b44659ba67a7..2874c0b52bcc46c6f640c62f96c0f889a87a72c3 100644 (file)
@@ -1783,8 +1783,8 @@ err:
 /* set the EQ delay interval of an EQ to specified value
  * Uses async mcc
  */
-int __be_cmd_modify_eqd(struct be_adapter *adapter, struct be_set_eqd *set_eqd,
-                       int num)
+static int __be_cmd_modify_eqd(struct be_adapter *adapter,
+                              struct be_set_eqd *set_eqd, int num)
 {
        struct be_mcc_wrb *wrb;
        struct be_cmd_req_modify_eq_delay *req;