linux-stable/arch/xtensa
Max Filippov c595a18204 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:43:39 +02:00
..
boot xtensa: boot/lib: fix function prototypes 2023-10-10 21:43:39 +02:00
configs xtensa: smp_lx200_defconfig: fix vectors clash 2019-03-13 14:03:12 -07:00
include init: Remove check_bugs() leftovers 2023-08-08 19:48:24 +02:00
kernel exit: Add and use make_task_dead. 2023-02-06 07:46:33 +01:00
lib
mm xtensa: disable preemption around cache alias management calls 2020-11-24 13:05:56 +01:00
oprofile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
platforms xtensa: ISS: fix call to split_if_spec 2023-08-11 11:33:46 +02:00
variants
Kconfig xtensa: fix kconfig unmet dependency warning for HAVE_FUTEX_CMPXCHG 2021-09-22 11:45:14 +02:00
Kconfig.debug License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile