Re: [PATCH] memstick: fix error return code in r592_probe()

2013-06-09 Thread Andy Shevchenko
It's better to combine with moving it to pcim_* and devm_* and get minus-diff instead of plus. On Fri, Jun 7, 2013 at 5:15 AM, Wei Yongjun wrote: > From: Wei Yongjun > > Fix to return a negative error code from the error handling > case instead of 0, as done elsewhere in this function. > > Signe

[PATCH] memstick: fix error return code in r592_probe()

2013-06-06 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. Signed-off-by: Wei Yongjun --- drivers/memstick/host/r592.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/memstick/host