summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2015-06-11 19:42:11 +0300
committerFelipe Balbi <balbi@ti.com>2015-07-06 20:34:08 +0300
commitb4c21f0bdd2c0cd5d5be1bb56f0a28dae5041eed (patch)
tree884d032fc4ab2bd382603b3970208544538298d1 /tools/perf/scripts/python/export-to-postgresql.py
parent4088acf1e845aba35f30fb91dee10649edbd0e84 (diff)
downloadlinux-b4c21f0bdd2c0cd5d5be1bb56f0a28dae5041eed.tar.xz
usb: gadget: composite: Fix NULL pointer dereference
commit f563d230903210acc ("usb: gadget: composite: add req_match method to usb_function") accesses cdev->config even before set config is invoked causing a NULL pointer dereferencing error while running Lecroy Mass Storage Compliance test. Fix it here by accessing cdev->config only if it is non NULL. Fixes: commit f563d230903210acc ("usb: gadget: composite: add req_match method to usb_function"). Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions