Răsfoiți Sursa

bonding: Fixup get_tx_queue() op second arg type.

I missed this when fixing up the warning in the previous commit.

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller 13 ani în urmă
părinte
comite
64d683c582
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      drivers/net/bonding/bond_main.c

+ 1 - 1
drivers/net/bonding/bond_main.c

@@ -4820,7 +4820,7 @@ static int bond_validate(struct nlattr *tb[], struct nlattr *data[])
 	return 0;
 }
 
-static int bond_get_tx_queues(struct net *net, const struct nlattr *tb[])
+static int bond_get_tx_queues(struct net *net, struct nlattr *tb[])
 {
 	return tx_queues;
 }