diff options
author | Peter Chen <[email protected]> | 2019-01-17 09:24:20 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-01-18 09:35:33 +0100 |
commit | 8ff396fe56f5593640a8ce7223cac33a2cda619e (patch) | |
tree | 9b3fa199793dd0236c2b5e4a0707ed9ef77114f9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a817c59e8273e555acb5cbccc75f5b57c27e3da9 (diff) |
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 <[email protected]>
Signed-off-by: Peter Chen <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions