diff options
author | Sun Ke <sunke32@huawei.com> | 2022-09-20 10:00:41 +0800 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-09-22 12:25:59 +0200 |
commit | 9b17dbd97de78796997583340b540bdb571694e6 (patch) | |
tree | cda51c11347e80bb0e5f5d0bbd051d47083d020b /net | |
parent | 7a5d48c4463e6ef896ea2190a97d9e90b37c38da (diff) | |
download | linux-next-9b17dbd97de78796997583340b540bdb571694e6.tar.gz |
net: ethernet: altera: TSE: fix error return code in altera_tse_probe()
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.
Fixes: fef2998203e1 ("net: altera: tse: convert to phylink")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Sun Ke <sunke32@huawei.com>
Link: https://lore.kernel.org/r/20220920020041.2685948-1-sunke32@huawei.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions