Re: [PATCH] usb: cdns3: fix NULL pointer dereference on no platform data

2020-11-23 Thread Peter Chen
On 20-11-23 12:49:31, Roger Quadros wrote: > Some platforms (e.g. TI) will not have any platform data which will > lead to NULL pointer dereference if we don't check for NULL pdata. > > Fixes: a284b7fd1b8f ("usb: cdns3: add quirk for enable runtime pm by default") > Reported-by: Nishanth Menon >

RE: [PATCH] usb: cdns3: fix NULL pointer dereference on no platform data

2020-11-23 Thread Pawel Laszczak
Hi, > >Some platforms (e.g. TI) will not have any platform data which will >lead to NULL pointer dereference if we don't check for NULL pdata. > >Fixes: a284b7fd1b8f ("usb: cdns3: add quirk for enable runtime pm by default") >Reported-by: Nishanth Menon >Signed-off-by: Roger Quadros Acked-by:

[PATCH] usb: cdns3: fix NULL pointer dereference on no platform data

2020-11-23 Thread Roger Quadros
Some platforms (e.g. TI) will not have any platform data which will lead to NULL pointer dereference if we don't check for NULL pdata. Fixes: a284b7fd1b8f ("usb: cdns3: add quirk for enable runtime pm by default") Reported-by: Nishanth Menon Signed-off-by: Roger Quadros ---