lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <220f6cfb-80b1-44db-ce1d-462af5dbf74e@huawei.com> Date: Fri, 15 Oct 2021 16:53:52 +0800 From: Hanjun Guo <guohanjun@...wei.com> To: Lorenzo Pieralisi <lorenzo.pieralisi@....com> CC: Arnd Bergmann <arnd@...nel.org>, Sudeep Holla <sudeep.holla@....com>, "Rafael J. Wysocki" <rafael@...nel.org>, Len Brown <lenb@...nel.org>, "Arnd Bergmann" <arnd@...db.de>, Catalin Marinas <catalin.marinas@....com>, "Marc Zyngier" <maz@...nel.org>, <linux-acpi@...r.kernel.org>, <linux-arm-kernel@...ts.infradead.org>, <linux-kernel@...r.kernel.org> Subject: Re: [PATCH] acpi: arm64: fix section mismatch warning On 2021/10/13 17:02, Lorenzo Pieralisi wrote: > On Tue, Oct 12, 2021 at 03:03:29PM +0800, Hanjun Guo wrote: >> Hi Arnd, >> >> On 2021/9/27 22:19, Arnd Bergmann wrote: >>> From: Arnd Bergmann <arnd@...db.de> >>> >>> In a gcc-11 randconfig build I came across this warning: >>> >>> WARNING: modpost: vmlinux.o(.text.unlikely+0x2c084): Section mismatch in reference from the function next_platform_timer() to the variable .init.data:acpi_gtdt_desc >>> The function next_platform_timer() references >>> the variable __initdata acpi_gtdt_desc. >>> This is often because next_platform_timer lacks a __initdata >>> annotation or the annotation of acpi_gtdt_desc is wrong. >>> >>> This happens when next_platform_timer() fails to get inlined >>> despite the inline annotation. Adding '__init' solves the issue, >>> and it seems best to remove the 'inline' in the process seems >>> better anyway. >> >> There was a patch to fix this issue as well [1], >> but not merged yet. >> >> [1]: https://lore.kernel.org/linux-acpi/7f29a149-e005-f13f-2cc4-a9eb737107e1@huawei.com/T/ > > My bad, we did not coordinate well - I noticed your Acked-by but as a > rule we should also CC LAKML and Catalin/Will (if they aren't CCed) on > the reply to make sure they can actually see it. It's my bad. I will make sure LAKML and Catalin/Will are CCed next time when I reply the email. Thanks Hanjun
Powered by blists - more mailing lists