From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757189AbbCDNcq (ORCPT ); Wed, 4 Mar 2015 08:32:46 -0500 Received: from mail-pa0-f42.google.com ([209.85.220.42]:35613 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754243AbbCDNcn (ORCPT ); Wed, 4 Mar 2015 08:32:43 -0500 From: Darshana Padmadas To: linux-kernel@vger.kernel.org Cc: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, josh@joshtriplett.org, Darshana Padmadas Subject: [PATCH 02/16] arch: x86: boot: Add prototype for decompress_kernel Date: Wed, 4 Mar 2015 19:02:04 +0530 Message-Id: X-Mailer: git-send-email 1.9.1 In-Reply-To: References: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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