lkml.org 
[lkml]   [2009]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH]fix a warning on drivers/pci/hotplug/ibmphp_core.c

    fix this warning:
    drivers/pci/hotplug/ibmphp_core.c:1414: warning: ‘ibmphp_exit’ defined but not used

    It missed the "module_exit".


    From bb3c7845b38dff4628fe482207790b82a3df0ab4 Mon Sep 17 00:00:00 2001
    From: Zhenwen Xu <Helight.Xu@gmail.com>
    Date: Sun, 12 Apr 2009 19:10:58 +0800
    Subject: [PATCH] fix the warning ‘ibmphp_exit’ defined but not used
    MIME-Version: 1.0
    Content-Type: text/plain; charset=utf-8
    Content-Transfer-Encoding: 8bit

    Signed-off-by: Zhenwen Xu <helight.xu@gmail.com>
    ---
    drivers/pci/hotplug/ibmphp_core.c | 1 +
    1 files changed, 1 insertions(+), 0 deletions(-)

    diff --git a/drivers/pci/hotplug/ibmphp_core.c b/drivers/pci/hotplug/ibmphp_core.c
    index dd18f85..29ccb8a 100644
    --- a/drivers/pci/hotplug/ibmphp_core.c
    +++ b/drivers/pci/hotplug/ibmphp_core.c
    @@ -1419,3 +1419,4 @@ static void __exit ibmphp_exit(void)
    }

    module_init(ibmphp_init);
    +module_exit(ibmphp_exit);
    --
    1.5.6.5
    --
    ---------------------------------
    Zhenwen Xu - Open and Free
    Home Page: http://zhwen.org
    My Studio: http://dim4.cn
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2009-04-12 13:23    [W:0.023 / U:31.652 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site