Commit 2913085
dpaa_eth: fix error return code in dpaa_eth_probe()
Fix to return a negative error code from the dpaa_bp_alloc() error
handling case instead of 0, as done elsewhere in this function.
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent c221fe4 commit 2913085
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2728 | 2728 | | |
2729 | 2729 | | |
2730 | 2730 | | |
2731 | | - | |
2732 | | - | |
2733 | 2731 | | |
2734 | | - | |
| 2732 | + | |
| 2733 | + | |
2735 | 2734 | | |
| 2735 | + | |
2736 | 2736 | | |
2737 | 2737 | | |
2738 | 2738 | | |
| |||
0 commit comments