Re: [PATCH] usb: xhci-dwc3: Fix usage of bulk PHY API

2020-05-31 Thread Chunfeng Yun
Hi Samuel, This bug was fixed up two weeks ago, https://patchwork.ozlabs.org/project/uboot/patch/1589435712-8795-1-git-send-email-chunfeng@mediatek.com/ thanks On Sat, 2020-05-30 at 03:37 -0500, Samuel Holland wrote: > The PHY consumer is responsible for allocating the struct phy_bulk. >

Aw: [PATCH] usb: xhci-dwc3: Fix usage of bulk PHY API

2020-05-30 Thread Frank Wunderlich
Hi, my mistake is already fixed and merged by commit "usb: dwc3: fix NULL pointer issue" by original author of xhci/bulk-api https://gitlab.denx.de/u-boot/u-boot/-/commit/58221d7e876c2f75ae7696aad853d81ccd76fb7a regards Frank

[PATCH] usb: xhci-dwc3: Fix usage of bulk PHY API

2020-05-30 Thread Samuel Holland
The PHY consumer is responsible for allocating the struct phy_bulk. During conversion to the bulk API, the contents of the struct were replaced by a pointer instead of the struct itself. This leads to a null pointer dereference in generic_phy_get_bulk() when setting bulk->phys. Fixes: