Re: [PATCH] ASoC: Intel: sof-nau8825: fix module alias overflow

From: Mark Brown
Date: Mon Dec 26 2022 - 18:34:36 EST


On Wed, 21 Dec 2022 14:24:56 +0100, Arnd Bergmann wrote:
> The maximum name length for a platform_device_id entry is 20 characters
> including the trailing NUL byte. The sof_nau8825.c file exceeds that,
> which causes an obscure error message:
>
> sound/soc/intel/boards/snd-soc-sof_nau8825.mod.c:35:45: error: illegal character encoding in string literal [-Werror,-Winvalid-source-encoding]
> MODULE_ALIAS("platform:adl_max98373_nau8825<U+0018><AA>");
> ^~~~
> include/linux/module.h:168:49: note: expanded from macro 'MODULE_ALIAS'
> ^~~~~~
> include/linux/module.h:165:56: note: expanded from macro 'MODULE_INFO'
> ^~~~
> include/linux/moduleparam.h:26:47: note: expanded from macro '__MODULE_INFO'
> = __MODULE_INFO_PREFIX __stringify(tag) "=" info
>
> [...]

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: Intel: sof-nau8825: fix module alias overflow
commit: 3e78986a840d59dd27e636eae3f52dc11125c835

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark