aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2021-08-11 10:51:00 +0200
committerRob Herring <[email protected]>2021-08-24 17:09:01 -0500
commit33709413014cd5b8e54d4d9efa07a30ba028e1db (patch)
treecb83aefd99af102d0a14def9507b21e78f381e09 /lib/test_fortify/write_overflow-strlcpy-src.c
parent0b3813014c865a74b6322a4512de6610abf999b6 (diff)
crash_dump: Make elfcorehdr address/size symbols always visible
Make the forward declarations of elfcorehdr_addr and elfcorehdr_size, and the definitions of ELFCORE_ADDR_MAX and ELFCORE_ADDR_ERR always available, like is done for phys_initrd_start and phys_initrd_size. Code referring to these symbols can then just check for IS_ENABLED(CONFIG_CRASH_DUMP), instead of requiring conditional compilation using an #ifdef, thus preparing to increase compile coverage. Suggested-by: Rob Herring <[email protected]> Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/ba965ca613c0cc82c1ec2fe353ee34fb13b36474.1628670468.git.geert+renesas@glider.be
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions