commit | 500e06b9a3f50d3db992eb3b8dc309f695d33f63 | [log] [tgz] |
---|---|---|
author | Vinod Koul <vinod.koul@intel.com> | Tue May 31 19:09:55 2016 +0530 |
committer | Mark Brown <broonie@kernel.org> | Tue May 31 14:36:30 2016 +0100 |
tree | 467722226e5e3beb5e86e858a1eeff32a053636a | |
parent | 1a695a905c18548062509178b98bc91e67510864 [diff] |
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>