commit | 7edf4db15899214867fe60bd31102309f2cc5ede | [log] [tgz] |
---|---|---|
author | Vinod Koul <vinod.koul@intel.com> | Tue May 31 19:09:55 2016 +0530 |
committer | Mark Brown <broonie@kernel.org> | Mon Jul 11 18:19:33 2016 +0100 |
tree | 5f273b522bcd24d789b2ba69036ee7af337e3c21 | |
parent | 0d6821040034b8bfc9d9a4e6c2236f3a9e02650f [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>