aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorKyle Manna <[email protected]>2011-08-12 03:33:14 +0000
committerSamuel Ortiz <[email protected]>2011-09-06 14:37:59 +0000
commitd0e84caeb4cd535923884735906e5730329505b4 (patch)
tree409b5168a878ea302d1aeff50c26369da177f000 /lib/debugobjects.c
parentmfd: Copy the device pointer to the twl4030-madc structure (diff)
downloadkernel-d0e84caeb4cd535923884735906e5730329505b4.tar.gz
kernel-d0e84caeb4cd535923884735906e5730329505b4.zip
mfd: Check for twl4030-madc NULL pointer
If the twl4030-madc device wasn't registered, and another device, such as twl4030-madc-hwmon, calls twl4030_madc_conversion() a NULL pointer is dereferenced. Signed-off-by: Kyle Manna <[email protected]> Signed-off-by: Samuel Ortiz <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions