On 3/27/25 3:06 PM, Juergen Gross wrote:
Initializing a percpu variable with the address of a struct tagged as
.initdata is breaking the build with CONFIG_SECTION_MISMATCH_WARN_ONLY
not set to "y".

Fix that by using an access function instead returning the .initdata
struct address if the percpu space of the struct hasn't been
allocated yet.

Fixes: 368990a7fe30 ("xen: fix multicall debug data referencing")
Reported-by: Borislav Petkov<b...@alien8.de>
Signed-off-by: Juergen Gross<jgr...@suse.com>


Reviewed-by: Boris Ostrovsky <boris.ostrov...@oracle.com>

Reply via email to