diff options
author | 2019-01-17 09:24:20 +0000 | |
---|---|---|
committer | 2019-01-18 09:35:33 +0100 | |
commit | 8ff396fe56f5593640a8ce7223cac33a2cda619e (patch) | |
tree | 9b3fa199793dd0236c2b5e4a0707ed9ef77114f9 /tools/perf/scripts/python | |
parent | MAINTAINERS: email address update in MAINTAINERS entries (diff) | |
download | wireguard-linux-8ff396fe56f5593640a8ce7223cac33a2cda619e.tar.xz wireguard-linux-8ff396fe56f5593640a8ce7223cac33a2cda619e.zip |
usb: chipidea: fix static checker warning for NULL pointer
During the static checker, "data->usbmisc_data" may be NULL.
Fix it by adding this pointer judgement before using.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions