sfc: Fix error code in probe
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 18 Sep 2020 14:33:11 +0000 (17:33 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Sep 2020 20:55:13 +0000 (13:55 -0700)
commit58ed68b592377f7483bcbff937567d8cbaab38ed
tree9f6c7db2bc45a543deed0dcff2aab54194644a79
parente1b81391421b8b7577988fbf797bfbc176bedd1e
sfc: Fix error code in probe

This failure path should return a negative error code but it currently
returns success.

Fixes: 51b35a454efd ("sfc: skeleton EF100 PF driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef100.c