summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/lm75.h
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2015-06-11 18:42:11 +0200
committerFelipe Balbi <balbi@ti.com>2015-07-06 19:34:08 +0200
commitb4c21f0bdd2c0cd5d5be1bb56f0a28dae5041eed (patch)
tree884d032fc4ab2bd382603b3970208544538298d1 /drivers/hwmon/lm75.h
parentusb: gadget: f_fs: do not set cancel function on synchronous {read,write} (diff)
downloadlinux-b4c21f0bdd2c0cd5d5be1bb56f0a28dae5041eed.tar.xz
linux-b4c21f0bdd2c0cd5d5be1bb56f0a28dae5041eed.zip
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 'drivers/hwmon/lm75.h')
0 files changed, 0 insertions, 0 deletions