sfc: nicer log message on Siena SR-IOV probe fail
authorEdward Cree <ecree@solarflare.com>
Mon, 18 May 2015 13:18:27 +0000 (14:18 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 May 2015 20:20:07 +0000 (16:20 -0400)
commit7e91a210b405a2a700959a341c761fc2561ddaf4
tree6bec5a7f627bd5ed2ad2e27fc122e785ee78dccd
parent0bc4c07046de5ce2a2f25ef2192b6f5878c80f83
sfc: nicer log message on Siena SR-IOV probe fail

We expect that MC_CMD_SRIOV will fail if the card has no VFs configured.
So output a readable message instead of a cryptic MCDI error.

Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/siena_sriov.c