linux-stable/arch/xtensa
Max Filippov fe25f30cc3 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-06 13:16:04 +02:00
..
boot xtensa: boot/lib: fix function prototypes 2023-10-06 13:16:04 +02:00
configs Xtensa updates for v6.2 2022-12-13 15:25:08 -08:00
include xtensa: add default definition for XCHAL_HAVE_DIV32 2023-10-06 13:16:04 +02:00
kernel xtensa: PMU: fix base address for the newer hardware 2023-09-13 09:53:51 +02:00
lib xtensa: umulsidi3: fix conditional expression 2023-10-06 13:16:04 +02:00
mm Merge branch 'expand-stack' 2023-06-28 20:35:21 -07:00
platforms xtensa: iss/network: make functions static 2023-10-06 13:16:04 +02:00
variants xtensa: add test_kc705_be variant 2018-08-20 12:34:45 -07:00
Kbuild xtensa: move core-y in arch/xtensa/Makefile to arch/xtensa/Kbuild 2021-08-11 11:37:13 -07:00
Kconfig Merge branch 'expand-stack' 2023-06-28 20:35:21 -07:00
Kconfig.debug xtensa: dump userspace code around the exception PC 2023-06-24 06:34:27 -07:00
Makefile kbuild: remove head-y syntax 2022-10-02 18:06:03 +09:00