mirror of
https://github.com/torvalds/linux.git
synced 2026-08-06 23:43:54 +02: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 | ||
| include | ||
| raven | ||
| renoir | ||
| rpl | ||
| vangogh | ||
| yc | ||
| acp-config.c | ||
| acp-da7219-max98357a.c | ||
| acp-es8336.c | ||
| acp-pcm-dma.c | ||
| acp-rt5645.c | ||
| acp.h | ||
| acp3x-rt5682-max9836.c | ||
| Kconfig | ||
| mach-config.h | ||
| Makefile | ||