linux-stable/arch/xtensa
Max Filippov b317f69871 xtensa: boot/lib: fix function prototypes
[ Upstream commit f54d02c8f2 ]

Add function prototype for gunzip() to the boot library code and make
exit() and zalloc() static.

arch/xtensa/boot/lib/zmem.c:8:6: warning: no previous prototype for 'exit' [-Wmissing-prototypes]
    8 | void exit (void)
arch/xtensa/boot/lib/zmem.c:13:7: warning: no previous prototype for 'zalloc' [-Wmissing-prototypes]
   13 | void *zalloc(unsigned size)
arch/xtensa/boot/lib/zmem.c:35:6: warning: no previous prototype for 'gunzip' [-Wmissing-prototypes]
   35 | void gunzip (void *dst, int dstlen, unsigned char *src, int *lenp)

Fixes: 4bedea9454 ("xtensa: Architecture support for Tensilica Xtensa Part 2")
Fixes: e7d163f766 ("xtensa: Removed local copy of zlib and fixed O= support")
Suggested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-10-10 21:53:31 +02:00
..
boot xtensa: boot/lib: fix function prototypes 2023-10-10 21:53:31 +02:00
configs
include xtensa: add default definition for XCHAL_HAVE_DIV32 2023-10-10 21:53:31 +02:00
kernel xtensa: PMU: fix base address for the newer hardware 2023-09-19 12:20:21 +02:00
lib xtensa: propagate the calling conventions change down into csum_partial_copy_generic() 2020-08-20 15:45:21 -04:00
mm xtensa: use CONFIG_USE_OF instead of CONFIG_OF 2021-10-13 10:04:26 +02:00
oprofile
platforms xtensa: iss/network: make functions static 2023-10-10 21:53:31 +02:00
variants
Kconfig xtensa: fix kconfig unmet dependency warning for HAVE_FUTEX_CMPXCHG 2021-09-08 08:49:00 +02:00
Kconfig.debug
Makefile