]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
s6gmac: fix error return code in s6gmac_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 22 Mar 2013 03:17:47 +0000 (03:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Mar 2013 14:23:42 +0000 (10:23 -0400)
commit43d6869037d6fa8f92a7a7e6df3b48147c8a3ef9
treee7ff88d14a39c712afc10c52fa3d040cae01096c
parentd6a8c36dd6f6f06f046e5c61d3fb39b777c3bdc6
s6gmac: fix error return code in s6gmac_probe()

Fix to return a negative error code from the error handling
case instead of 0, as returned elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/s6gmac.c