]> git.baikalelectronics.ru Git - kernel.git/commit
qed: Correct PF-sanity check
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Sun, 15 May 2016 11:48:05 +0000 (14:48 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 May 2016 17:59:18 +0000 (13:59 -0400)
commiteeb00264f1c0c35bfbb4f2b7777fcbfeb62ae304
tree8fd6e20ea1cd8ec76f9909b6e86240939d005ba7
parentc718a40954d311ca870d78bf681f98f0a346c495
qed: Correct PF-sanity check

Seems like something broke in commit 797fbcd52983 ("qed: Introduce VFs")
and the function no longer verifies that the vf is indeed a valid one.

Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_sriov.c