On Thu, Oct 27, 2022 at 11:18:42AM -0700, Guenter Roeck wrote: > On 10/27/22 09:54, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.15.76 release. > > There are 79 patches in this series, all will be posted as a response > > to this one. If anyone has any issues with these being applied, please > > let me know. > > > > Responses should be made by Sat, 29 Oct 2022 16:50:35 +0000. > > Anything received after that time might be too late. > > > Building arm64:allmodconfig ... failed > -------------- > Error log: > In file included from drivers/cpufreq/tegra194-cpufreq.c:10: > drivers/cpufreq/tegra194-cpufreq.c:282:25: error: 'tegra194_cpufreq_of_match' undeclared here (not in a function); did you mean 'tegra194_cpufreq_data'? > 282 | MODULE_DEVICE_TABLE(of, tegra194_cpufreq_of_match); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ > include/linux/module.h:244:15: note: in definition of macro 'MODULE_DEVICE_TABLE' > 244 | extern typeof(name) __mod_##type##__##name##_device_table \ > | ^~~~ > include/linux/module.h:244:21: error: conflicting types for '__mod_of__tegra194_cpufreq_of_match_device_table'; have 'const struct of_device_id[2]' > 244 | extern typeof(name) __mod_##type##__##name##_device_table \ > | ^~~~~~ > drivers/cpufreq/tegra194-cpufreq.c:417:1: note: in expansion of macro 'MODULE_DEVICE_TABLE' > 417 | MODULE_DEVICE_TABLE(of, tegra194_cpufreq_of_match); > | ^~~~~~~~~~~~~~~~~~~ > include/linux/module.h:244:21: note: previous declaration of '__mod_of__tegra194_cpufreq_of_match_device_table' with type 'int' > 244 | extern typeof(name) __mod_##type##__##name##_device_table \ > | ^~~~~~ > drivers/cpufreq/tegra194-cpufreq.c:282:1: note: in expansion of macro 'MODULE_DEVICE_TABLE' > 282 | MODULE_DEVICE_TABLE(of, tegra194_cpufreq_of_match); > | ^~~~~~~~~~~~~~~~~~~ > make[3]: [scripts/Makefile.build:289: drivers/cpufreq/tegra194-cpufreq.o] Error 1 (ignored) > ERROR: modpost: missing MODULE_LICENSE() in drivers/cpufreq/tegra194-cpufreq.o > make[2]: [scripts/Makefile.modpost:133: modules-only.symvers] Error 1 (ignored) > > I don't know what exactly happened, but commit b281adc68db8 ("cpufreq: > tegra194: Fix module loading") introduces a second MODULE_DEVICE_TABLE > at the wrong location, causing the build failure. Ah, the "Fixes:" tag was wrong in the original commit in Linus's tree. It should have said: Fixes: 0839ed1fd7ac ("cpufreq: tegra194: add soc data to support multiple soc") which removed the existing MODULE_DEVICE_TABLE() entry. So only kernels newer than 5.19 need this. I'll go drop it from the 5.10.y and 5.15.y queues, thanks! greg k-h