Re: [PATCH] staging: wilc1000: fix static checker warning to unlock mutex in wilc_deinit()

2018-07-05 Thread Ajay Singh
Hi Dan, On Thu, 5 Jul 2018 11:41:26 +0300 Dan Carpenter wrote: > On Thu, Jul 05, 2018 at 09:18:53AM +0530, Ajay Singh wrote: > > Fix for static checker warning inconsistent returns of > > 'hif_deinit_lock'(more details [1]). > > > > "drivers/staging/wilc1000/host_interface.c:3390 wilc_deinit()

Re: [PATCH] staging: wilc1000: fix static checker warning to unlock mutex in wilc_deinit()

2018-07-05 Thread Dan Carpenter
On Thu, Jul 05, 2018 at 09:18:53AM +0530, Ajay Singh wrote: > Fix for static checker warning inconsistent returns of > 'hif_deinit_lock'(more details [1]). > > "drivers/staging/wilc1000/host_interface.c:3390 wilc_deinit() > warn: inconsistent returns 'hif_deinit_lock'." > >

[PATCH] staging: wilc1000: fix static checker warning to unlock mutex in wilc_deinit()

2018-07-04 Thread Ajay Singh
Fix for static checker warning inconsistent returns of 'hif_deinit_lock'(more details [1]). "drivers/staging/wilc1000/host_interface.c:3390 wilc_deinit() warn: inconsistent returns 'hif_deinit_lock'." Introduced in "ff52a57a7a42: staging: wilc1000: move the allocation of cmd out of