Re: [U-Boot] [PATCH] usb: xhci: Fix a potential NULL pointer dereference

2015-08-14 Thread Sergei Temerkhanov
On Fri, Aug 14, 2015 at 5:45 PM, Marek Vasut wrote: > On Friday, August 14, 2015 at 04:29:43 PM, Sergei Temerkhanov wrote: >> On Fri, Aug 14, 2015 at 4:44 PM, Marek Vasut wrote: >> > On Friday, August 14, 2015 at 03:00:31 PM, Sergei Temerkhanov wrote: >> >> This may happen when, for example, one

Re: [U-Boot] [PATCH] usb: xhci: Fix a potential NULL pointer dereference

2015-08-14 Thread Marek Vasut
On Friday, August 14, 2015 at 04:29:43 PM, Sergei Temerkhanov wrote: > On Fri, Aug 14, 2015 at 4:44 PM, Marek Vasut wrote: > > On Friday, August 14, 2015 at 03:00:31 PM, Sergei Temerkhanov wrote: > >> This may happen when, for example, one tries to get a single binary for > >> similar systems wher

Re: [U-Boot] [PATCH] usb: xhci: Fix a potential NULL pointer dereference

2015-08-14 Thread Sergei Temerkhanov
On Fri, Aug 14, 2015 at 4:44 PM, Marek Vasut wrote: > On Friday, August 14, 2015 at 03:00:31 PM, Sergei Temerkhanov wrote: >> This may happen when, for example, one tries to get a single binary for >> similar systems where those controllers may or may not present. > > Please DO STOP TOP-POSTING, I

Re: [U-Boot] [PATCH] usb: xhci: Fix a potential NULL pointer dereference

2015-08-14 Thread Marek Vasut
On Friday, August 14, 2015 at 03:00:31 PM, Sergei Temerkhanov wrote: > This may happen when, for example, one tries to get a single binary for > similar systems where those controllers may or may not present. Please DO STOP TOP-POSTING, I mentioned it already, it is really not helpful. I think yo

Re: [U-Boot] [PATCH] usb: xhci: Fix a potential NULL pointer dereference

2015-08-14 Thread Sergei Temerkhanov
This may happen when, for example, one tries to get a single binary for similar systems where those controllers may or may not present. Regards, Sergey On Fri, Aug 14, 2015 at 3:15 PM, Marek Vasut wrote: > On Friday, August 14, 2015 at 02:13:06 PM, Sergey Temerkhanov wrote: > > This patch fixes

Re: [U-Boot] [PATCH] usb: xhci: Fix a potential NULL pointer dereference

2015-08-14 Thread Marek Vasut
On Friday, August 14, 2015 at 02:13:06 PM, Sergey Temerkhanov wrote: > This patch fixes a potential NULL pointer dereference arising on > non-present/non-initialized xHCI controllers Hi, can you please explain how can such a condition even happen ? I believe the hcor must always be inited at that

[U-Boot] [PATCH] usb: xhci: Fix a potential NULL pointer dereference

2015-08-14 Thread Sergey Temerkhanov
This patch fixes a potential NULL pointer dereference arising on non-present/non-initialized xHCI controllers Signed-off-by: Sergey Temerkhanov Signed-off-by: Radha Mohan Chintakuntla --- drivers/usb/host/xhci.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/dri