lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1353302917-13995-47-git-send-email-josh@joshtriplett.org>
Date:	Sun, 18 Nov 2012 21:28:25 -0800
From:	Josh Triplett <josh@...htriplett.org>
To:	Linus Torvalds <torvalds@...ux-foundation.org>,
	Thomas Gleixner <tglx@...utronix.de>,
	Ingo Molnar <mingo@...hat.com>,
	"H. Peter Anvin" <hpa@...or.com>, x86@...nel.org,
	Andrew Morton <akpm@...ux-foundation.org>,
	Josh Triplett <josh@...htriplett.org>,
	David Howells <dhowells@...hat.com>,
	Kees Cook <keescook@...omium.org>, linux-kernel@...r.kernel.org
Subject: [PATCH 46/58] x86: arch/x86/kernel/irqinit.c: Add prototype for init_IRQ

arch/x86/kernel/irqinit.c defines an __init function init_IRQ, called
from init/main.c.  No header file prototypes init_IRQ, because
init/main.c tends to directly define prototypes for init functions it
calls, rather than including appropriate headers.  So, add a prototype
of init_IRQ to arch/x86/kernel/irqinit.c right above the definition, to
satisfy gcc (-Wmissing-prototypes) and Sparse (-Wdecl).

arch/x86/kernel/irqinit.c:118:116: warning: no previous prototype for ‘init_IRQ’ [-Wmissing-prototypes]

Signed-off-by: Josh Triplett <josh@...htriplett.org>
---
 arch/x86/kernel/irqinit.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/kernel/irqinit.c b/arch/x86/kernel/irqinit.c
index 6e03b0d..abc1f55 100644
--- a/arch/x86/kernel/irqinit.c
+++ b/arch/x86/kernel/irqinit.c
@@ -115,6 +115,7 @@ void __init init_ISA_irqs(void)
 		irq_set_chip_and_handler_name(i, chip, handle_level_irq, name);
 }
 
+void init_IRQ(void);
 void __init init_IRQ(void)
 {
 	int i;
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ