diff options
author | Rajan Vaja <rajan.vaja@gmail.com> | 2015-05-20 10:20:54 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-05-21 12:05:48 +0100 |
commit | 72f0095e7993dd9af8d5531740bf549359314bf0 (patch) | |
tree | d3499d3a2e8e0e2058e8473059e3449419d15a7e /sound/soc/codecs | |
parent | b787f68c36d49bb1d9236f403813641efa74a031 (diff) | |
download | lwn-72f0095e7993dd9af8d5531740bf549359314bf0.tar.gz lwn-72f0095e7993dd9af8d5531740bf549359314bf0.zip |
ASoC: mop500_ab8500: Add a NULL pointer check in mop500_ab8500_machine_init()
Avoid possible crash (NULL pointer dereference) by making
sure that dem_kzalloc() is successful.
Signed-off-by: Rajan Vaja <rajan.vaja@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs')
0 files changed, 0 insertions, 0 deletions