]> git.baikalelectronics.ru Git - kernel.git/commit
liquidio: Missing error code in liquidio_init_nic_module()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 14 Nov 2017 06:14:17 +0000 (09:14 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Nov 2017 13:01:06 +0000 (22:01 +0900)
commit85d5838f019d291cfb88c1b8f9ca4dac5b219477
tree56e4d6fc0d3d7a1da6e4ce93ec1fbab3ac2bbab8
parent392217bceb90a5c92ce5aa55735c1ed5d29b41dd
liquidio: Missing error code in liquidio_init_nic_module()

We accidentally return success if lio_vf_rep_modinit() fails instead of
propogating the error code.

Fixes: 746863b2c914 ("liquidio: synchronize VF representor names with NIC firmware")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/liquidio/lio_main.c