diff options
author | Vinod Koul <vinod.koul@intel.com> | 2016-05-31 19:09:55 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-05-31 14:36:30 +0100 |
commit | 500e06b9a3f50d3db992eb3b8dc309f695d33f63 (patch) | |
tree | 467722226e5e3beb5e86e858a1eeff32a053636a /sound/Makefile | |
parent | 1a695a905c18548062509178b98bc91e67510864 (diff) | |
download | op-kernel-dev-500e06b9a3f50d3db992eb3b8dc309f695d33f63.zip op-kernel-dev-500e06b9a3f50d3db992eb3b8dc309f695d33f63.tar.gz |
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/Makefile')
0 files changed, 0 insertions, 0 deletions