diff options
| author | Stafford Horne <shorne@gmail.com> | 2026-03-21 09:22:05 +0000 |
|---|---|---|
| committer | Stafford Horne <shorne@gmail.com> | 2026-03-21 09:33:28 +0000 |
| commit | 431400d49cac4bac944fc2d989921003314667ae (patch) | |
| tree | b3b3bede6888acdac2c0c6f54ba2ffb941467a7c /scripts/dummy-tools/python3 | |
| parent | d79526b89571ae447c1a5cfd3d627efa07098348 (diff) | |
openrisc: mm: Fix section mismatch between map_page and __set_fixmap
This warning was reported by the kernel test robot:
WARNING: modpost: vmlinux: section mismatch in reference: __set_fixmap+0x84 (section: .text.unlikely) -> map_page.isra.0 (section: .init.text)
With commit 4735037b5d9b ("openrisc: Add text patching API support") the
__set_fixmap function was moved out of the .init.text section.
However, the map_page helper that it uses was not moved. This was not
noticed on gcc 15.1.0 where map_page gets inlined unlike lkp@intel.com
which uses gcc 10.5.0.
Fix this by also moving the map_page helper function out of the init
section.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202603211503.E8mMETO3-lkp@intel.com/
Fixes: 4735037b5d9b ("openrisc: Add text patching API support")
Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'scripts/dummy-tools/python3')
0 files changed, 0 insertions, 0 deletions
