summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2019-02-14 18:58:40 +0300
committerMark Brown <broonie@kernel.org>2019-02-14 19:17:36 +0300
commit6e434122d9041c48841709385e823eef3225663e (patch)
treeb038a8219966cefe14240732fe130575a500dde1 /scripts/gdb/linux/utils.py
parent76d9c68b360f852e784170f10cb431e4713c7d0b (diff)
downloadlinux-6e434122d9041c48841709385e823eef3225663e.tar.xz
ASoC: samsung: i2s: Prevent potential NULL platform data dereference
When np is NULL i2s_pdata could also be NULL but i2s_pdata is now being dereferenced without proper check. Fix this and shorten the error message so we don't exceed 80 characters limit. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions