mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-22 06:12:22 +00:00
Clang warns:
../sound/soc/amd/acp/acp-platform.c:117:19: error: variable 'ext_intr_stat1' is uninitialized when used here [-Werror,-Wuninitialized]
if (stream && (ext_intr_stat1 & stream->irq_bit)) {
^~~~~~~~~~~~~~
../sound/soc/amd/acp/acp-platform.c:97:35: note: initialize the variable 'ext_intr_stat1' to silence this warning
u32 ext_intr_stat, ext_intr_stat1, i;
^
= 0
1 error generated.
The variable was not properly renamed, correct it to resolve the
warning.
Fixes:
|
||
|---|---|---|
| .. | ||
| acp-i2s.c | ||
| acp-legacy-mach.c | ||
| acp-mach-common.c | ||
| acp-mach.h | ||
| acp-pci.c | ||
| acp-pdm.c | ||
| acp-platform.c | ||
| acp-rembrandt.c | ||
| acp-renoir.c | ||
| acp-sof-mach.c | ||
| amd.h | ||
| chip_offset_byte.h | ||
| Kconfig | ||
| Makefile | ||