summaryrefslogtreecommitdiff
path: root/sound/soc/sh
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2019-02-14 16:58:40 +0100
committerMark Brown <broonie@kernel.org>2019-02-14 16:17:36 +0000
commit6e434122d9041c48841709385e823eef3225663e (patch)
treeb038a8219966cefe14240732fe130575a500dde1 /sound/soc/sh
parent76d9c68b360f852e784170f10cb431e4713c7d0b (diff)
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 'sound/soc/sh')
0 files changed, 0 insertions, 0 deletions