diff options
author | Arnd Bergmann <[email protected]> | 2017-11-06 14:30:36 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2017-11-07 11:55:25 +0100 |
commit | cc20c4df1627dd515ea90dd20e2684a8a1c76693 (patch) | |
tree | 4571f73079ab7b4eeafc3bf4bcd4d4648029f0df /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
parent | adebc5321852da0b6ed13888e3aa291dfb011072 (diff) |
ASoC: intel: initialize return value properly
When CONFIG_SND_SOC_HDAC_HDMI is disabled, we can run into an
uninitialized variable:
sound/soc/intel/skylake/skl.c: In function 'skl_resume':
sound/soc/intel/skylake/skl.c:326:6: error: 'ret' may be used uninitialized in this function [-Werror=maybe-uninitialized]
I have run into this on today's linux-next kernel, but it appears
that this is an older problem that was just hard to trigger
with randconfig builds as CONFIG_SND_SOC_HDAC_HDMI would in
effect be impossible to disable when having SND_SOC_INTEL_SKYLAKE
enabled.
Signed-off-by: Arnd Bergmann <[email protected]>
Acked-By: Vinod Koul <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions