summaryrefslogtreecommitdiffstats
path: root/sound/parisc
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2019-01-15 11:57:23 -0600
committerMark Brown <broonie@kernel.org>2019-01-15 19:03:49 +0000
commit060d0bf491874daece47053c4e1fb0489eb867d2 (patch)
tree7c0b90d23cafd6c32e3caf6c2dc0e708caa3f2f5 /sound/parisc
parente581e151e965bf1f2815dd94620b638fec4d0a7e (diff)
downloadlinux-060d0bf491874daece47053c4e1fb0489eb867d2.tar.bz2
ASoC: rt5514-spi: Fix potential NULL pointer dereference
There is a potential NULL pointer dereference in case devm_kzalloc() fails and returns NULL. Fix this by adding a NULL check on rt5514_dsp. This issue was detected with the help of Coccinelle. Fixes: 6eebf35b0e4a ("ASoC: rt5514: add rt5514 SPI driver") Cc: stable@vger.kernel.org Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/parisc')
0 files changed, 0 insertions, 0 deletions