Messages in this thread Patch in this message | | | From | Darshana Padmadas <> | Subject | [PATCH 02/16] arch: x86: boot: Add prototype for decompress_kernel | Date | Wed, 4 Mar 2015 19:02:04 +0530 |
| |
compressed/misc.c declares internal function decompress_kernel used only in this file and in some assembly. Add a prototype for the function.
This eliminates the followig warning: arch/x86/boot/compressed/misc.c:369:28: warning: no previous prototype for ‘decompress_kernel’ [-Wmissing-prototypes]
Signed-off-by: Darshana Padmadas <darshanapadmadas@gmail.com> --- arch/x86/boot/compressed/misc.c | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/arch/x86/boot/compressed/misc.c b/arch/x86/boot/compressed/misc.c index a950864..43bb537 100644 --- a/arch/x86/boot/compressed/misc.c +++ b/arch/x86/boot/compressed/misc.c @@ -371,6 +371,13 @@ asmlinkage __visible void *decompress_kernel(void *rmode, memptr heap, unsigned long input_len, unsigned char *output, unsigned long output_len, + unsigned long run_size); + +asmlinkage __visible void *decompress_kernel(void *rmode, memptr heap, + unsigned char *input_data, + unsigned long input_len, + unsigned char *output, + unsigned long output_len, unsigned long run_size) { unsigned char *output_orig = output; -- 1.9.1
| |