Re: [PATCH] rocker: fix error return code in rocker_probe()

2015-04-16 Thread David Miller
From: weiyj...@163.com Date: Thu, 16 Apr 2015 20:21:02 +0800 > From: Wei Yongjun > > Fix to return -EINVAL from the invalid PCI region size error > handling case instead of 0, as done elsewhere in this function. > > Signed-off-by: Wei Yongjun Applied. -- To unsubscribe from this list: send th

Re: [PATCH] rocker: fix error return code in rocker_probe()

2015-04-16 Thread Jiri Pirko
Thu, Apr 16, 2015 at 02:21:02PM CEST, weiyj...@163.com wrote: >From: Wei Yongjun > >Fix to return -EINVAL from the invalid PCI region size error >handling case instead of 0, as done elsewhere in this function. > >Signed-off-by: Wei Yongjun Good catch. Acked-by: Jiri Pirko -- To unsubscribe fr

[PATCH] rocker: fix error return code in rocker_probe()

2015-04-16 Thread weiyj_lk
From: Wei Yongjun Fix to return -EINVAL from the invalid PCI region size error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun --- drivers/net/ethernet/rocker/rocker.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/rocker/roc