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<[email protected]> Signed-off-by: Juergen Gross<[email protected]>
Reviewed-by: Boris Ostrovsky <[email protected]>
