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)
commitb0409fa0940b59dc0c313eb424cfbc4730778ecc
tree8fd6e20ea1cd8ec76f9909b6e86240939d005ba7
parent2bb07e155bb3e0c722c806723f737cf8020961ef
qed: Correct PF-sanity check

Seems like something broke in commit 1408cc1fa48c ("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