Re: [PATCH 11/24] staging: wilc1000: move hif specific static variables to 'wilc' structure

2018-08-24 Thread Claudiu Beznea
On 23.08.2018 13:09, Ajay Singh wrote: > On Thu, 23 Aug 2018 11:11:09 +0300 > Claudiu Beznea wrote: > >> On 14.08.2018 09:50, Ajay Singh wrote: >>> Avoid use of static variable and move it in 'wilc' structure >>> related to hif and added NULL before accessing hif_workqueue in >>> wilc_enqueue_

Re: [PATCH 11/24] staging: wilc1000: move hif specific static variables to 'wilc' structure

2018-08-23 Thread Ajay Singh
On Thu, 23 Aug 2018 11:11:09 +0300 Claudiu Beznea wrote: > On 14.08.2018 09:50, Ajay Singh wrote: > > Avoid use of static variable and move it in 'wilc' structure > > related to hif and added NULL before accessing hif_workqueue in > > wilc_enqueue_work(). > > > > Below variables are moved to 'wi

Re: [PATCH 11/24] staging: wilc1000: move hif specific static variables to 'wilc' structure

2018-08-23 Thread Claudiu Beznea
On 14.08.2018 09:50, Ajay Singh wrote: > Avoid use of static variable and move it in 'wilc' structure related to > hif and added NULL before accessing hif_workqueue in wilc_enqueue_work(). > > Below variables are moved to 'wilc' struct: > struct workqueue_struct *hif_workqueue; > struct mutex

[PATCH 11/24] staging: wilc1000: move hif specific static variables to 'wilc' structure

2018-08-13 Thread Ajay Singh
Avoid use of static variable and move it in 'wilc' structure related to hif and added NULL before accessing hif_workqueue in wilc_enqueue_work(). Below variables are moved to 'wilc' struct: struct workqueue_struct *hif_workqueue; struct mutex hif_deinit_lock; struct completion hif_driver_comp;