summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorDong Aisheng <aisheng.dong@nxp.com>2017-04-14 17:32:43 +0300
committerMark Brown <broonie@kernel.org>2017-04-14 20:09:26 +0300
commit4af5924c02818ca170bb6902dbb883687b969aeb (patch)
tree6bf18fe423a1a175cc831b97eaaaa4996b3ec186 /scripts/gdb/linux/utils.py
parent9bf944548169f6153c3d3778cf983cb5db251a0e (diff)
downloadlinux-4af5924c02818ca170bb6902dbb883687b969aeb.tar.xz
regulator: anatop: make sure regulator name is properly defined
For anatop regulator we must have a name accordingly. Make sure the name is properly checked before using it to avoid a possible kernel NULL point crash. Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions