Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=162dd3b9e41d2c7531bf09c580c8e82dbf01e7ba
Commit:     162dd3b9e41d2c7531bf09c580c8e82dbf01e7ba
Parent:     f8281a2b661d5f4f8081b387886187bbf190b92d
Author:     Sam Ravnborg <[EMAIL PROTECTED]>
AuthorDate: Fri Jun 1 00:47:11 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Fri Jun 1 08:18:30 2007 -0700

    isdn: fix section mismatch warnings
    
    Fix the following section mismatch warnings:
    
    WARNING: drivers/isdn/hardware/eicon/divadidd.o(.init.text+0xc4): Section 
mismatch: reference to .exit.text: (between 'init_module' and 'diddfunc_init')
    WARNING: drivers/isdn/hardware/eicon/divas.o(.init.text+0xf4): Section 
mismatch: reference to .exit.text:divasfunc_exit (between 'init_module' and 
'divasfunc_init')
    WARNING: drivers/isdn/hardware/eicon/divas.o(.init.text+0x10d): Section 
mismatch: reference to .exit.text:divasfunc_exit (between 'init_module' and 
'divasfunc_init')
    WARNING: drivers/isdn/hardware/eicon/divas.o(.init.text+0x148): Section 
mismatch: reference to .exit.text:divasfunc_exit (between 'init_module' and 
'divasfunc_init')
    
    They all point to situation whare a function marked __init calls a function
    marked __exit - but the __exit section may have been discarded.
    
    Note: This warning is generated by a modified copy of modpost in my
          tree. It will soon hit upstearm.
    
    Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]>
    Cc: Karsten Keil <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 drivers/isdn/hardware/eicon/diva_didd.c |    2 +-
 drivers/isdn/hardware/eicon/divasfunc.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/isdn/hardware/eicon/diva_didd.c 
b/drivers/isdn/hardware/eicon/diva_didd.c
index 14298b8..d755d90 100644
--- a/drivers/isdn/hardware/eicon/diva_didd.c
+++ b/drivers/isdn/hardware/eicon/diva_didd.c
@@ -99,7 +99,7 @@ static int DIVA_INIT_FUNCTION create_proc(void)
        return (0);
 }
 
-static void DIVA_EXIT_FUNCTION remove_proc(void)
+static void remove_proc(void)
 {
        remove_proc_entry(DRIVERLNAME, proc_net_eicon);
        remove_proc_entry("net/eicon", NULL);
diff --git a/drivers/isdn/hardware/eicon/divasfunc.c 
b/drivers/isdn/hardware/eicon/divasfunc.c
index df61e51..46fc21a 100644
--- a/drivers/isdn/hardware/eicon/divasfunc.c
+++ b/drivers/isdn/hardware/eicon/divasfunc.c
@@ -231,7 +231,7 @@ int DIVA_INIT_FUNCTION divasfunc_init(int dbgmask)
 /*
  * exit
  */
-void DIVA_EXIT_FUNCTION divasfunc_exit(void)
+void divasfunc_exit(void)
 {
        divasa_xdi_driver_unload();
        disconnect_didd();
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to