mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 22:14:03 +02:00
The ALSA snd_card driver[] field is 16 bytes (including the NUL terminator), leaving 15 usable characters. The SOF framework prepends a "sof-" prefix when registering the card, so card->name = "amd-soundwire" becomes driver name "sof-amd-soundwire" which is 17 characters and overflows the driver[16] buffer, triggering a kernel warning. Fix by shortening the card name to "amd-sdw"; the resulting driver name "sof-amd-sdw" fits within the 15-character limit. Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com> Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org> Link: https://patch.msgid.link/20260910161728.1452808-5-Vijendar.Mukunda@amd.com Signed-off-by: Mark Brown <broonie@kernel.org> |
||
|---|---|---|
| .. | ||
| acp | ||
| acp7x | ||
| include | ||
| ps | ||
| raven | ||
| renoir | ||
| 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 | ||