summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2021-08-25 11:40:40 +0200
committerRob Herring <robh@kernel.org>2021-08-25 13:13:31 -0500
commit2fcf9a178ba1f2d4f2bf715312b84508850701d2 (patch)
treed0ecbe07104832359ccc5bce096df2565ff5945e /security
parentb261dba2fdb2c2656935a048cdbc6f2d24231e08 (diff)
downloadlinux-2fcf9a178ba1f2d4f2bf715312b84508850701d2.tar.bz2
of: fdt: Rename reserve_elfcorehdr() to fdt_reserve_elfcorehdr()
On ia64/allmodconfig: drivers/of/fdt.c:609:20: error: conflicting types for 'reserve_elfcorehdr'; have 'void(void)' 609 | static void __init reserve_elfcorehdr(void) | ^~~~~~~~~~~~~~~~~~ arch/ia64/include/asm/meminit.h:43:12: note: previous declaration of 'reserve_elfcorehdr' with type 'int(u64 *, u64 *)' {aka 'int(long long unsigned int *, long long unsigned int *)'} 43 | extern int reserve_elfcorehdr(u64 *start, u64 *end); | ^~~~~~~~~~~~~~~~~~ Fix this by prefixing the FDT function name with "fdt_". Fixes: f7e7ce93aac13118 ("of: fdt: Add generic support for handling elf core headers property") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/f6eabbbce0fba6da3da0264c1e1cf23c01173999.1629884393.git.geert+renesas@glider.be Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions