Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
b967f48d
Commit
b967f48d
authored
Aug 10, 2023
by
Helge Deller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parisc: boot: Nuke some sparse warnings in decompressor
Signed-off-by:
Helge Deller
<
deller@gmx.de
>
parent
2c9227fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
arch/parisc/boot/compressed/misc.c
arch/parisc/boot/compressed/misc.c
+5
-5
No files found.
arch/parisc/boot/compressed/misc.c
View file @
b967f48d
...
@@ -117,7 +117,7 @@ char *strchr(const char *s, int c)
...
@@ -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)
...
@@ -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)
...
@@ -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)
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment