Re: [char-misc 3.10] mei: nfc: fix nfc device freeing

2013-06-06 Thread Greg KH
On Thu, Jun 06, 2013 at 07:57:24AM +, Winkler, Tomas wrote: > > > > > On Mon, Jun 03, 2013 at 09:28:30AM +0300, Tomas Winkler wrote: > > > The nfc_dev is a static variable and is not cleaned properly upon > > > reset mainly ndev->cl and ndev->cl_info are not set to NULL after > > > freeing wh

RE: [char-misc 3.10] mei: nfc: fix nfc device freeing

2013-06-06 Thread Winkler, Tomas
> > On Mon, Jun 03, 2013 at 09:28:30AM +0300, Tomas Winkler wrote: > > The nfc_dev is a static variable and is not cleaned properly upon > > reset mainly ndev->cl and ndev->cl_info are not set to NULL after > > freeing which > > Then it needs to be made dynamic, don't paper over the bug by zeroi

Re: [char-misc 3.10] mei: nfc: fix nfc device freeing

2013-06-03 Thread Greg KH
On Mon, Jun 03, 2013 at 09:28:30AM +0300, Tomas Winkler wrote: > The nfc_dev is a static variable and is not cleaned properly upon reset > mainly ndev->cl and ndev->cl_info are not set to NULL after freeing which Then it needs to be made dynamic, don't paper over the bug by zeroing it out, you rea

Re: [char-misc 3.10] mei: nfc: fix nfc device freeing

2013-06-03 Thread Samuel Ortiz
Hi Tomas, On Mon, Jun 03, 2013 at 09:28:30AM +0300, Tomas Winkler wrote: > The nfc_dev is a static variable and is not cleaned properly upon reset > mainly ndev->cl and ndev->cl_info are not set to NULL after freeing which > > mei_stop:198: mei_me :00:16.0: stopping the device. > [ 404.25342