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-next>] [day] [month] [year] [list]
Date:	Sun, 26 Oct 2008 21:25:25 +0100
From:	"Vlada Peric" <vlada.peric@...il.com>
To:	linux-kernel@...r.kernel.org
Cc:	kkeil@...e.de, kai.germaschewski@....de
Subject: [PATCH] isdn: fix section mismatch warnings in isdn/hisax

I am not subscribed to the list, please CC me directly.

Fix the following warnings (6 total):
WARNING: drivers/isdn/hisax/hisax.o(.text+0x9c5): Section mismatch in
reference from the function HiSax_inithardware() to the function
.devinit.text:hisax_cs_setup_card()
The function HiSax_inithardware() references
the function __devinit hisax_cs_setup_card().
This is often because HiSax_inithardware lacks a __devinit
annotation or the annotation of hisax_cs_setup_card is wrong.

WARNING: drivers/isdn/hisax/hisax.o(.text+0xb45): Section mismatch in
reference from the function hisax_init_pcmcia() to the function
.devinit.text:hisax_cs_setup_card()
The function hisax_init_pcmcia() references
the function __devinit hisax_cs_setup_card().
This is often because hisax_init_pcmcia lacks a __devinit
annotation or the annotation of hisax_cs_setup_card is wrong.

Signed-off-by: Vlada Perić <vlada.peric <at> gmail.com>
Cc: Karsten Keil <kkeil <at> suse.de>
Cc: Kai Germaschewski <kai.germaschewski <at> gmx.de>
---
 drivers/isdn/hisax/config.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/isdn/hisax/config.c b/drivers/isdn/hisax/config.c
index 84d75a3..db2aebc 100644
--- a/drivers/isdn/hisax/config.c
+++ b/drivers/isdn/hisax/config.c
@@ -1213,7 +1213,7 @@ static void HiSax_shiftcards(int idx)
 		memcpy(&cards[i], &cards[i + 1], sizeof(cards[i]));
 }

-static int HiSax_inithardware(int *busy_flag)
+static int __devinit HiSax_inithardware(int *busy_flag)
 {
 	int foundcards = 0;
 	int i = 0;
@@ -1542,7 +1542,7 @@ static void __exit HiSax_exit(void)
 	printk(KERN_INFO "HiSax module removed\n");
 }

-int hisax_init_pcmcia(void *pcm_iob, int *busy_flag, struct IsdnCard *card)
+int __devinit hisax_init_pcmcia(void *pcm_iob, int *busy_flag, struct
IsdnCard *card)
 {
 	u_char ids[16];
 	int ret = -1;
-- 
1.6.0.3

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ