aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorAxel Lin <[email protected]>2019-09-22 10:29:28 +0800
committerMark Brown <[email protected]>2019-09-23 14:19:52 -0700
commit1d6db22ff7d67a17c571543c69c63b1d261249b0 (patch)
tree2980466b7cf3222c8bdaca109f4e43983b923e17 /scripts/gdb/linux/tasks.py
parentf8970d341eec73c976a3462b9ecdb02b60b84dd6 (diff)
regulator: fixed: Prevent NULL pointer dereference when !CONFIG_OF
Use of_device_get_match_data which has NULL test for match before dereference match->data. Add NULL test for drvtype so it still works for fixed_voltage_ops when !CONFIG_OF. Signed-off-by: Axel Lin <[email protected]> Reviewed-by: Philippe Schenker <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions