lkml.org 
[lkml]   [2008]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/16][BUG] Export kobject_rename for pci_hotplug_core (Not for mainline!)
Hi Greg,

This patch looks like a candidate for the current 2.6.25 cycle.
Any chance of getting it in there?

If not, maybe you can push it into linux-next without waiting for
the rest of my pci_slot changes, since this is a fix for the
kobject core, and not necessarily what I'm working on.

Thanks.

/ac

* Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>:
> Export kobject_rename() to fix the following link error. This happens
> when pci_hotplug_core driver is compiled as a kernel module.
>
> ERROR: "kobject_rename" [drivers/pci/hotplug/pci_hotplug.ko] undefined!
> make[1]: *** [__modpost] Error 1
> make: *** [modules] Error 2
> make: *** Waiting for unfinished jobs....
>
> Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>

Acked-by: Alex Chiang <achiang@hp.com>

>
> ---
> lib/kobject.c | 1 +
> 1 file changed, 1 insertion(+)
>
> Index: linux-2.6.25-rc6/lib/kobject.c
> ===================================================================
> --- linux-2.6.25-rc6.orig/lib/kobject.c
> +++ linux-2.6.25-rc6/lib/kobject.c
> @@ -456,6 +456,7 @@ out:
>
> return error;
> }
> +EXPORT_SYMBOL_GPL(kobject_rename);
>
> /**
> * kobject_move - move object to another parent
>
>


\
 
 \ /
  Last update: 2008-03-21 16:59    [W:0.603 / U:1.060 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site