diff options
| author | Zhang Changzhong <[email protected]> | 2020-11-13 14:49:33 +0800 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2020-11-16 15:37:28 -0800 |
| commit | 35f735c665114840dcd3142f41148d07870f51f7 (patch) | |
| tree | 57cd71b1a211247730f96449d8fa0725a5c59e06 /lib/netdev-notifier-error-inject.c | |
| parent | 661710bfd5039267f911e42675ab743760b6449d (diff) | |
net: ethernet: ti: cpsw: fix error return code in cpsw_probe()
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.
Fixes: 83a8471ba255 ("net: ethernet: ti: cpsw: refactor probe to group common hw initialization")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Zhang Changzhong <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions