mirror of
https://github.com/torvalds/linux.git
synced 2026-11-30 10:32:24 +00:00
commit3e10a2ce98("usb: dwc3: add hsphy_interface property") introduced a possible NULL pointer dereference because dwc->hsphy_interface can be NULL. In order to fix it, all we have to do is guard strncmp() against a NULL argument. Fixes:3e10a2ce98("usb: dwc3: add hsphy_interface property") Tested-by: Murali Karicheri <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>