Wei Yongjun bc6c03fa3c nfp: fix error return code in nfp_net_netdev_open()
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.

Fixes: 73725d9dfd99 ("nfp: allocate ring SW structs dynamically")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-09-16 04:27:05 -04:00
..
2016-09-06 11:02:36 -07:00
2016-09-07 21:24:42 -07:00
2016-09-09 14:52:05 -07:00
2016-07-30 21:01:36 -07:00
2016-09-03 10:40:57 -07:00
2016-07-30 21:01:36 -07:00
2016-08-04 09:59:37 -04:00
2016-08-01 18:36:01 -04:00
2016-07-20 23:39:36 -07:00
2016-09-11 14:41:49 -07:00
2016-09-03 11:38:43 -07:00
2016-08-12 14:59:10 +05:30
2016-08-06 00:01:33 -04:00
2016-08-05 09:48:22 -04:00
2016-09-06 11:06:52 -07:00
2016-08-01 18:36:01 -04:00
2016-09-09 15:11:35 +02:00
2016-08-02 19:35:40 -04:00
2016-08-06 09:20:13 -04:00