mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
parisc: boot: Nuke some sparse warnings in decompressor
Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
parent
2c9227fd1c
commit
b967f48d02
1 changed files with 5 additions and 5 deletions
|
@ -117,7 +117,7 @@ char *strchr(const char *s, int c)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
int puts(const char *s)
|
static int puts(const char *s)
|
||||||
{
|
{
|
||||||
const char *nuline = s;
|
const char *nuline = s;
|
||||||
|
|
||||||
|
@ -172,7 +172,7 @@ static int print_num(unsigned long num, int base)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int printf(const char *fmt, ...)
|
static int printf(const char *fmt, ...)
|
||||||
{
|
{
|
||||||
va_list args;
|
va_list args;
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
@ -204,13 +204,13 @@ void abort(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
#undef malloc
|
#undef malloc
|
||||||
void *malloc(size_t size)
|
static void *malloc(size_t size)
|
||||||
{
|
{
|
||||||
return malloc_gzip(size);
|
return malloc_gzip(size);
|
||||||
}
|
}
|
||||||
|
|
||||||
#undef free
|
#undef free
|
||||||
void free(void *ptr)
|
static void free(void *ptr)
|
||||||
{
|
{
|
||||||
return free_gzip(ptr);
|
return free_gzip(ptr);
|
||||||
}
|
}
|
||||||
|
@ -278,7 +278,7 @@ static void parse_elf(void *output)
|
||||||
free(phdrs);
|
free(phdrs);
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned long decompress_kernel(unsigned int started_wide,
|
asmlinkage unsigned long __visible decompress_kernel(unsigned int started_wide,
|
||||||
unsigned int command_line,
|
unsigned int command_line,
|
||||||
const unsigned int rd_start,
|
const unsigned int rd_start,
|
||||||
const unsigned int rd_end)
|
const unsigned int rd_end)
|
||||||
|
|
Loading…
Add table
Reference in a new issue