1. 23 Jan, 2023 1 commit
  2. 20 Jan, 2023 4 commits
  3. 19 Jan, 2023 4 commits
  4. 18 Jan, 2023 4 commits
  5. 17 Jan, 2023 1 commit
  6. 13 Jan, 2023 1 commit
  7. 12 Jan, 2023 6 commits
  8. 11 Jan, 2023 1 commit
  9. 10 Jan, 2023 2 commits
  10. 09 Jan, 2023 3 commits
  11. 05 Jan, 2023 1 commit
  12. 01 Jan, 2023 1 commit
  13. 29 Dec, 2022 8 commits
  14. 27 Dec, 2022 2 commits
  15. 26 Dec, 2022 1 commit
    • Arnd Bergmann's avatar
      ASoC: Intel: sof-nau8825: fix module alias overflow · 3e78986a
      Arnd Bergmann authored
      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
      
      I could not figure out how to make the module handling robust enough
      to handle this better, but as a quick fix, using slightly shorter
      names that are still unique avoids the build issue.
      
      Fixes: 8d0872f6 ("ASoC: Intel: add sof-nau8825 machine driver")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
      Link: https://lore.kernel.org/r/20221221132515.2363276-1-arnd@kernel.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      3e78986a