diff options
| author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2019-02-14 16:58:40 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2019-02-14 16:17:36 +0000 |
| commit | 6e434122d9041c48841709385e823eef3225663e (patch) | |
| tree | b038a8219966cefe14240732fe130575a500dde1 /tools/perf/scripts/python | |
| parent | ASoC: dmaengine: Remove unused SND_DMAENGINE_PCM_FLAG_CUSTOM_CHANNEL_NAME flag (diff) | |
| download | linux-6e434122d9041c48841709385e823eef3225663e.tar.gz linux-6e434122d9041c48841709385e823eef3225663e.zip | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
