Re: [PATCH V2] staging: wilc1000: wilc_msgqueue.c : remove the goto ERRORHANDER

2015-10-18 Thread Tony Cho
On 2015년 10월 17일 13:28, Greg KH wrote: On Wed, Oct 14, 2015 at 05:52:55PM +0900, Tony Cho wrote: On 2015년 10월 14일 17:32, Mike Rapoport wrote: On Wed, Oct 14, 2015 at 02:55:43PM +0900, Tony Cho wrote: From: Leo Kim This patch removes goto ERRORHANDER and the result

Re: [PATCH V2] staging: wilc1000: wilc_msgqueue.c : remove the goto ERRORHANDER

2015-10-16 Thread Greg KH
On Wed, Oct 14, 2015 at 05:52:55PM +0900, Tony Cho wrote: > > > On 2015년 10월 14일 17:32, Mike Rapoport wrote: > >On Wed, Oct 14, 2015 at 02:55:43PM +0900, Tony Cho wrote: > >>From: Leo Kim > >> > >>This patch removes goto ERRORHANDER and the result variable in wilc_mq_send. >

Re: [PATCH V2] staging: wilc1000: wilc_msgqueue.c : remove the goto ERRORHANDER

2015-10-14 Thread Tony Cho
On 2015년 10월 14일 17:32, Mike Rapoport wrote: On Wed, Oct 14, 2015 at 02:55:43PM +0900, Tony Cho wrote: From: Leo Kim This patch removes goto ERRORHANDER and the result variable in wilc_mq_send. Then, the error type is directly returned. If normal operation, freeing memory

Re: [PATCH V2] staging: wilc1000: wilc_msgqueue.c : remove the goto ERRORHANDER

2015-10-14 Thread Mike Rapoport
On Wed, Oct 14, 2015 at 02:55:43PM +0900, Tony Cho wrote: > From: Leo Kim > > This patch removes goto ERRORHANDER and the result variable in wilc_mq_send. > Then, the error type is directly returned. If normal operation, freeing memory > is not needed in this function. > If an

Re: [PATCH V2] staging: wilc1000: wilc_msgqueue.c : remove the goto ERRORHANDER

2015-10-14 Thread Mike Rapoport
On Wed, Oct 14, 2015 at 05:52:55PM +0900, Tony Cho wrote: > > On 2015년 10월 14일 17:32, Mike Rapoport wrote: > >On Wed, Oct 14, 2015 at 02:55:43PM +0900, Tony Cho wrote: > >>From: Leo Kim > >> > >>This patch removes goto ERRORHANDER and the result variable in wilc_mq_send. >

[PATCH V2] staging: wilc1000: wilc_msgqueue.c : remove the goto ERRORHANDER

2015-10-13 Thread Tony Cho
From: Leo Kim This patch removes goto ERRORHANDER and the result variable in wilc_mq_send. Then, the error type is directly returned. If normal operation, freeing memory is not needed in this function. If an error occurs, returns an error after releasing the spin lock.