* [linux-next:master 8181/9122] arch/arm/boot/compressed/misc.h:13:36: error: macro "fortify_panic" requires 2 arguments, but only 1 given
@ 2024-02-22 21:57 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-02-22 21:57 UTC (permalink / raw)
To: Kees Cook; +Cc: oe-kbuild-all, Linux Memory Management List, Alexander Lobakin
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: e31185ce00a96232308300008db193416ceb9769
commit: 0f4459080884b688c4ec9c2b121f22c641401bc1 [8181/9122] fortify: Split reporting and avoid passing string pointer
config: arm-aspeed_g5_defconfig (https://download.01.org/0day-ci/archive/20240223/202402230537.2s6Nhfsn-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240223/202402230537.2s6Nhfsn-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202402230537.2s6Nhfsn-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from arch/arm/boot/compressed/fdt_check_mem_start.c:6:
>> arch/arm/boot/compressed/misc.h:13:36: error: macro "fortify_panic" requires 2 arguments, but only 1 given
13 | void fortify_panic(const char *name);
| ^
In file included from include/linux/string.h:360,
from include/linux/libfdt_env.h:6,
from include/linux/libfdt.h:5,
from arch/arm/boot/compressed/fdt_check_mem_start.c:4:
include/linux/fortify-string.h:18: note: macro "fortify_panic" defined here
18 | #define fortify_panic(func, write) \
|
vim +/fortify_panic +13 arch/arm/boot/compressed/misc.h
5f8d561fb019a3 Russell King 2018-03-29 5
5f8d561fb019a3 Russell King 2018-03-29 6 void error(char *x) __noreturn;
5f8d561fb019a3 Russell King 2018-03-29 7 extern unsigned long free_mem_ptr;
5f8d561fb019a3 Russell King 2018-03-29 8 extern unsigned long free_mem_end_ptr;
9d1f3aa63c65f8 Arnd Bergmann 2023-06-02 9 void __div0(void);
9d1f3aa63c65f8 Arnd Bergmann 2023-06-02 10 void
9d1f3aa63c65f8 Arnd Bergmann 2023-06-02 11 decompress_kernel(unsigned long output_start, unsigned long free_mem_ptr_p,
9d1f3aa63c65f8 Arnd Bergmann 2023-06-02 12 unsigned long free_mem_ptr_end_p, int arch_id);
9d1f3aa63c65f8 Arnd Bergmann 2023-06-02 @13 void fortify_panic(const char *name);
9d1f3aa63c65f8 Arnd Bergmann 2023-06-02 14 int atags_to_fdt(void *atag_list, void *fdt, int total_space);
9d1f3aa63c65f8 Arnd Bergmann 2023-06-02 15 uint32_t fdt_check_mem_start(uint32_t mem_start, const void *fdt);
9d1f3aa63c65f8 Arnd Bergmann 2023-06-02 16 int do_decompress(u8 *input, int len, u8 *output, void (*error)(char *x));
9d1f3aa63c65f8 Arnd Bergmann 2023-06-02 17
:::::: The code at line 13 was first introduced by commit
:::::: 9d1f3aa63c65f8fefe050d91b3f599e8e320eeb0 ARM: 9311/1: decompressor: move function prototypes to misc.h
:::::: TO: Arnd Bergmann <arnd@arndb.de>
:::::: CC: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-02-22 21:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-22 21:57 [linux-next:master 8181/9122] arch/arm/boot/compressed/misc.h:13:36: error: macro "fortify_panic" requires 2 arguments, but only 1 given kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox