RE: [PATCH 1/2] usb: renesas_usbhs: avoid NULL pointer derefernce in usbhsf_pkt_handler()

2016-03-09 Thread Yoshihiro Shimoda
Hi, > > Yoshihiro Shimoda writes: > >> Yoshihiro Shimoda writes: > >> > This patch adds a condition to avoid the dereference. > >> > > >> > Signed-off-by: Yoshihiro Shimoda > >> > >> is this a regression fix ? Do we need it in current -rc (it's getting > >> late for that, actually), do we need

RE: [PATCH 1/2] usb: renesas_usbhs: avoid NULL pointer derefernce in usbhsf_pkt_handler()

2016-03-09 Thread Felipe Balbi
Hi, Yoshihiro Shimoda writes: >> Yoshihiro Shimoda writes: >> > [ text/plain ] >> > When unexpected situation happened (e.g. tx/rx irq happened while >> > DMAC is used), the usbhsf_pkt_handler() was possible to cause NULL >> > pointer dereference like the followings: >> > >> > Unable to handle

RE: [PATCH 1/2] usb: renesas_usbhs: avoid NULL pointer derefernce in usbhsf_pkt_handler()

2016-03-09 Thread Yoshihiro Shimoda
Hi Felipe, > Hi Yoshihiro, > > Yoshihiro Shimoda writes: > > [ text/plain ] > > When unexpected situation happened (e.g. tx/rx irq happened while > > DMAC is used), the usbhsf_pkt_handler() was possible to cause NULL > > pointer dereference like the followings: > > > > Unable to handle kernel NU

Re: [PATCH 1/2] usb: renesas_usbhs: avoid NULL pointer derefernce in usbhsf_pkt_handler()

2016-03-09 Thread Felipe Balbi
Hi Yoshihiro, Yoshihiro Shimoda writes: > [ text/plain ] > When unexpected situation happened (e.g. tx/rx irq happened while > DMAC is used), the usbhsf_pkt_handler() was possible to cause NULL > pointer dereference like the followings: > > Unable to handle kernel NULL pointer dereference at vir