usb: chipidea: imx: fix a possible NULL dereference
of_match_device could return NULL, and so cause a NULL pointer dereference later. Reported-by: coverity (CID 1324138) Signed-off-by: NLABBE Corentin <clabbe.montjoie@gmail.com> Signed-off-by: NPeter Chen <peter.chen@freescale.com>
Showing
想要评论请 注册 或 登录