diff options
author | Vinod Koul <vinod.koul@intel.com> | 2016-05-31 19:09:55 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-07-11 18:19:33 +0100 |
commit | 7edf4db15899214867fe60bd31102309f2cc5ede (patch) | |
tree | 5f273b522bcd24d789b2ba69036ee7af337e3c21 /scripts/cleanfile | |
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>
Diffstat (limited to 'scripts/cleanfile')
0 files changed, 0 insertions, 0 deletions