Re: [PATCH] staging: wilc1000: fixed the wrong error code

2016-12-01 Thread Atul Raj
On Thu, Dec 1, 2016 at 1:03 AM, Dan Carpenter wrote: > On Thu, Dec 01, 2016 at 12:58:45AM +0530, Atul Raj wrote: >> ENOENT is error code for >> ENOMEM should be used for >> >> Signed-off-by: Atul Raj > Changelog doesn't match the patch. Sorry for the

[PATCH] Staging: wilc1000: fixed the wrong error code

2016-12-02 Thread Atul Raj
in case of memory failure -ENOMEM should be returned. Signed-off-by: Atul Raj --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000

[PATCH] staging: wilc1000: fixed the wrong error code

2016-11-30 Thread Atul Raj
ENOENT is error code for ENOMEM should be used for Signed-off-by: Atul Raj --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000