diff options
author | Vinod Koul <vinod.koul@intel.com> | 2016-05-31 15:39:55 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-05-31 15:36:30 +0200 |
commit | 500e06b9a3f50d3db992eb3b8dc309f695d33f63 (patch) | |
tree | 467722226e5e3beb5e86e858a1eeff32a053636a /sound/soc/intel/haswell | |
parent | Linux 4.7-rc1 (diff) | |
download | linux-500e06b9a3f50d3db992eb3b8dc309f695d33f63.tar.xz linux-500e06b9a3f50d3db992eb3b8dc309f695d33f63.zip |
ASoC: hdac_hdmi: Fix potential NULL dereference
Static checker warns:
Pointer 'hlink' returned from call to function 'snd_hdac_ext_bus_get_link'
at line may be NULL and will be dereferenced"
So we should always check the return of snd_hdac_ext_bus_get_link() before
referencing the link pointer
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/haswell')
0 files changed, 0 insertions, 0 deletions