aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpicoder.c
diff options
context:
space:
mode:
authorDenis Kirjanov <[email protected]>2015-10-21 11:29:13 +0000
committerMichael Ellerman <[email protected]>2015-10-28 03:08:33 +0000
commitccde64b51b33821159d52b0940fb21869bfdb316 (patch)
treef8256722cb1bb49d18d0ed5d30d4eb2ed583217f /lib/mpi/mpicoder.c
parentpowerpc/prom: Use of_get_next_parent() in of_get_ibm_chip_id() (diff)
downloadkernel-ccde64b51b33821159d52b0940fb21869bfdb316.tar.gz
kernel-ccde64b51b33821159d52b0940fb21869bfdb316.zip
powerpc/msi: Fix section mismatch warning in msi_bitmap_alloc()
Building with CONFIG_DEBUG_SECTION_MISMATCH gives the following warning: The function .msi_bitmap_alloc() references the function __init .memblock_virt_alloc_try_nid(). Memory allocation in msi_bitmap_alloc() uses either slab allocator or memblock boot time allocator depending on slab_is_available(). So the section mismatch warning is correct, but in practice there is no bug so mark msi_bitmap_alloc() as __init_refok. Signed-off-by: Denis Kirjanov <[email protected]> [mpe: Flesh out change log a bit] Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions