Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit cebd5fa4 authored by Steffen Persvold's avatar Steffen Persvold Committed by Joerg Roedel
Browse files

iommu/amd: Fix section warning for prealloc_protection_domains



Fix the following section warning in drivers/iommu/amd_iommu.c :

WARNING: vmlinux.o(.text+0x526e77): Section mismatch in reference from the function prealloc_protection_domains() to the function .init.text:alloc_passthrough_domain()
The function prealloc_protection_domains() references
the function __init alloc_passthrough_domain().
This is often because prealloc_protection_domains lacks a __init
annotation or the annotation of alloc_passthrough_domain is wrong.

Cc: stable@vger.kernel.org
Signed-off-by: default avatarSteffen Persvold <sp@numascale.com>
Signed-off-by: default avatarJoerg Roedel <joerg.roedel@amd.com>
parent 474d567d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment