Re: [PATCH 4.19 57/72] usb: usb251xb: fix to avoid potential NULL pointer dereference

2019-05-03 Thread Greg Kroah-Hartman
On Fri, May 03, 2019 at 11:32:35PM +0200, Pavel Machek wrote: > On Thu 2019-05-02 17:21:19, Greg Kroah-Hartman wrote: > > [ Upstream commit 41f00e6e9e55546390031996b773e7f3c1d95928 ] > > > > of_match_device in usb251xb_probe can fail and returns a NULL pointer. > > The patch avoids a potential NUL

Re: [PATCH 4.19 57/72] usb: usb251xb: fix to avoid potential NULL pointer dereference

2019-05-03 Thread Pavel Machek
On Thu 2019-05-02 17:21:19, Greg Kroah-Hartman wrote: > [ Upstream commit 41f00e6e9e55546390031996b773e7f3c1d95928 ] > > of_match_device in usb251xb_probe can fail and returns a NULL pointer. > The patch avoids a potential NULL pointer dereference in this scenario. > > Signed-off-by: Aditya Pakki

[PATCH 4.19 57/72] usb: usb251xb: fix to avoid potential NULL pointer dereference

2019-05-02 Thread Greg Kroah-Hartman
[ Upstream commit 41f00e6e9e55546390031996b773e7f3c1d95928 ] of_match_device in usb251xb_probe can fail and returns a NULL pointer. The patch avoids a potential NULL pointer dereference in this scenario. Signed-off-by: Aditya Pakki Reviewed-by: Richard Leitner Signed-off-by: Greg Kroah-Hartman