diff options
author | Jisheng Zhang <jszhang@kernel.org> | 2023-05-23 19:55:01 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2023-06-26 02:24:04 +0300 |
commit | d4035ff16bfa73915f74cb3d28f878aff1da510a (patch) | |
tree | 9f2e2d8b75d105cab191ca7999f5ee875607d9f2 /include/asm-generic/param.h | |
parent | cead443a306262a16056d84d63b5a6a10908eb62 (diff) | |
download | linux-d4035ff16bfa73915f74cb3d28f878aff1da510a.tar.xz |
vmlinux.lds.h: use correct .init.data.* section name
If building with -fdata-sections on riscv, LD_ORPHAN_WARN will warn
similar as below:
riscv64-linux-gnu-ld: warning: orphan section `.init.data.efi_loglevel'
from `./drivers/firmware/efi/libstub/printk.stub.o' being placed in
section `.init.data.efi_loglevel'
I believe this is caused by a a typo:
init.data.* should be .init.data.*
Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Reviewed-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Tested-by: Nick Desaulniers <ndesaulniers@google.com> # build
Link: https://lore.kernel.org/r/20230523165502.2592-4-jszhang@kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'include/asm-generic/param.h')
0 files changed, 0 insertions, 0 deletions