Re: [PATCH] usb/c67x00/c67x00-drv: Fix Data Race bug

2020-08-28 Thread Madhuparna Bhowmik
On Fri, Aug 28, 2020 at 1:10 PM Greg KH wrote: > > On Wed, Aug 26, 2020 at 08:14:59PM +0530, madhuparnabhowmi...@gmail.com wrote: > > From: Madhuparna Bhowmik > > > > Currently in c67x00_drv_probe() IRQ is requested before calling > > c67x00_probe_sie() and hence if interrupt happens the reading

Re: [PATCH] usb/c67x00/c67x00-drv: Fix Data Race bug

2020-08-28 Thread Greg KH
On Wed, Aug 26, 2020 at 08:14:59PM +0530, madhuparnabhowmi...@gmail.com wrote: > From: Madhuparna Bhowmik > > Currently in c67x00_drv_probe() IRQ is requested before calling > c67x00_probe_sie() and hence if interrupt happens the reading of certain > variables in the handler can race with initial

[PATCH] usb/c67x00/c67x00-drv: Fix Data Race bug

2020-08-26 Thread madhuparnabhowmik10
From: Madhuparna Bhowmik Currently in c67x00_drv_probe() IRQ is requested before calling c67x00_probe_sie() and hence if interrupt happens the reading of certain variables in the handler can race with initialization of the variables, for e.g. sie->sie_num is written in c67x00_probe_sie() and read