summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorLi Jun <jun.li@nxp.com>2019-10-09 05:52:28 +0300
committerPeter Chen <peter.chen@nxp.com>2019-11-18 11:45:30 +0300
commitdf17aa9fb31f6a41aad37b984909d8ef1a958271 (patch)
treed6a2cde8ca9d915431e11ff1a0165134df271621 /scripts/generate_rust_analyzer.py
parent782c1c49f3dbf335de6b95f2d97b105cca236bc9 (diff)
downloadlinux-df17aa9fb31f6a41aad37b984909d8ef1a958271.tar.xz
usb: chipidea: imx: check data->usbmisc_data against NULL before access
As usbmisc_data is optional, so add the check before access its member, this fix below static checker warning: drivers/usb/chipidea/ci_hdrc_imx.c:438 ci_hdrc_imx_probe() warn: 'data->usbmisc_data' can also be NULL which is introduced by Patch 15b80f7c3a7f: "usb: chipidea: imx: enable vbus and id wakeup only for OTG events" Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Li Jun <jun.li@nxp.com> Signed-off-by: Peter Chen <peter.chen@nxp.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions