Re: [PATCH 2/2] staging: wilc1000: fix memory allocation error check

2015-07-14 Thread Greg KH
On Tue, Jul 14, 2015 at 10:48:41AM +0900, Chaehyun Lim wrote: Remove WILC_ERRORREPORT macro. If memory allocation is failed, jump to a label to return this function with WILC_NO_MEM. Signed-off-by: Chaehyun Lim chaehyun@gmail.com --- drivers/staging/wilc1000/host_interface.c | 7

Re: [PATCH 2/2] staging: wilc1000: fix memory allocation error check

2015-07-14 Thread Greg KH
On Wed, Jul 15, 2015 at 08:14:08AM +0900, Chaehyun Lim wrote: On Wed, Jul 15, 2015 at 6:16 AM, Greg KH gre...@linuxfoundation.org wrote: On Tue, Jul 14, 2015 at 10:48:41AM +0900, Chaehyun Lim wrote: Remove WILC_ERRORREPORT macro. If memory allocation is failed, jump to a label to return

Re: [PATCH 2/2] staging: wilc1000: fix memory allocation error check

2015-07-14 Thread Chaehyun Lim
On Wed, Jul 15, 2015 at 6:16 AM, Greg KH gre...@linuxfoundation.org wrote: On Tue, Jul 14, 2015 at 10:48:41AM +0900, Chaehyun Lim wrote: Remove WILC_ERRORREPORT macro. If memory allocation is failed, jump to a label to return this function with WILC_NO_MEM. Signed-off-by: Chaehyun Lim

[PATCH 2/2] staging: wilc1000: fix memory allocation error check

2015-07-13 Thread Chaehyun Lim
Remove WILC_ERRORREPORT macro. If memory allocation is failed, jump to a label to return this function with WILC_NO_MEM. Signed-off-by: Chaehyun Lim chaehyun@gmail.com --- drivers/staging/wilc1000/host_interface.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git