lkml.org 
[lkml]   [2005]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH] i2o: fix init/exit section usage

    Fix 3 instances of bad calls to i2o_pci_free(), from init to exit
    code sections:
    Error: ./drivers/message/i2o/pci.o .init.text refers to 000000f7
    R_386_PC32 .exit.text
    Error: ./drivers/message/i2o/pci.o .init.text refers to 000003bc
    R_386_PC32 .exit.text
    Error: ./drivers/message/i2o/pci.o .init.text refers to 00000572
    R_386_PC32 .exit.text

    Signed-off-by: Randy Dunlap <rddunlap@osdl.org>

    diffstat:=
    drivers/message/i2o/pci.c | 2 +-
    1 files changed, 1 insertion(+), 1 deletion(-)

    ---

    diff -Naurp ./drivers/message/i2o/pci.c~i2o_initexit ./drivers/message/i2o/pci.c
    --- ./drivers/message/i2o/pci.c~i2o_initexit 2004-12-24 13:35:50.000000000 -0800
    +++ ./drivers/message/i2o/pci.c 2005-01-07 10:44:03.388412824 -0800
    @@ -83,7 +83,7 @@ int i2o_dma_realloc(struct device *dev,
    * Remove all allocated DMA memory and unmap memory IO regions. If MTRR
    * is enabled, also remove it again.
    */
    -static void __devexit i2o_pci_free(struct i2o_controller *c)
    +static void i2o_pci_free(struct i2o_controller *c)
    {
    struct device *dev;
    \
     
     \ /
      Last update: 2005-03-22 14:09    [W:0.022 / U:0.836 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site