]> git.baikalelectronics.ru Git - kernel.git/commit
usb: phy: phy-mxs-usb: fix a possible NULL dereference
authorLABBE Corentin <clabbe.montjoie@gmail.com>
Thu, 12 Nov 2015 07:45:52 +0000 (08:45 +0100)
committerFelipe Balbi <balbi@ti.com>
Tue, 17 Nov 2015 17:35:48 +0000 (11:35 -0600)
commit7571bb264a95d843b94724f39e2dbbae1ec28f78
treec5aff6debc0b48739d851c1fc7f3120e29ea5d76
parent964ef72f5b150dcca7be484665b209e40091f6e7
usb: phy: phy-mxs-usb: fix a possible NULL dereference

of_match_device could return NULL, and so cause a NULL pointer
dereference later.

Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-mxs-usb.c