Re: [PATCH -next] fsl/fman: fix error return code in mac_probe()

2016-10-17 Thread David Miller
From: Wei Yongjun Date: Mon, 17 Oct 2016 15:19:56 + > From: Wei Yongjun > > Fix to return a negative error code from the error handling > case instead of 0, as done elsewhere in this function. > > Fixes: 3933961682a3 ("fsl/fman: Add FMan MAC driver") > Signed-off-by: Wei Yongjun Applied,

[PATCH -next] fsl/fman: fix error return code in mac_probe()

2016-10-17 Thread Wei Yongjun
From: Wei Yongjun Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Fixes: 3933961682a3 ("fsl/fman: Add FMan MAC driver") Signed-off-by: Wei Yongjun --- drivers/net/ethernet/freescale/fman/mac.c | 8 ++-- 1 file changed, 6 in