diff options
author | 2011-08-11 22:33:14 -0500 | |
---|---|---|
committer | 2011-09-06 16:37:59 +0200 | |
commit | d0e84caeb4cd535923884735906e5730329505b4 (patch) | |
tree | 409b5168a878ea302d1aeff50c26369da177f000 /tools/perf/scripts/python/syscall-counts.py | |
parent | mfd: Copy the device pointer to the twl4030-madc structure (diff) | |
download | linux-dev-d0e84caeb4cd535923884735906e5730329505b4.tar.xz linux-dev-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 <kyle@kylemanna.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions