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-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 5 Jun 2008 09:11:40 -0600
From:	Alex Chiang <achiang@...com>
To:	Andrew Morton <akpm@...ux-foundation.org>
Cc:	Kenji Kaneshige <kaneshige.kenji@...fujitsu.com>,
	jbarnes@...tuousgeek.org,
	Benjamin Herrenschmidt <benh@...nel.crashing.org>,
	Matthew Wilcox <matthew@....cx>, kristen.c.accardi@...el.com,
	greg@...ah.com, lenb@...nel.org, pbadari@...ibm.com,
	linux-pci@...r.kernel.org, pcihpd-discuss@...ts.sourceforge.net,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] kobject: Export kobject_rename for pci_hotplug_core

* Andrew Morton <akpm@...ux-foundation.org>:
> On Thu, 05 Jun 2008 15:05:59 +0900 Kenji Kaneshige <kaneshige.kenji@...fujitsu.com> wrote:
> 
> > Andrew Morton wrote:
> > > On Wed, 4 Jun 2008 14:16:06 -0600 Alex Chiang <achiang@...com> wrote:
> > > 
> > >> From: Kenji Kaneshige <kaneshige.kenji@...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@...fujitsu.com>
> > >> Acked-by: Alex Chiang <achiang@...com>
> > >> Cc: Greg KH <greg@...ah.com>
> > >> Cc: Kristen Carlson Accardi <kristen.c.accardi@...el.com>
> > >> Cc: Len Brown <lenb@...nel.org>
> > >> Signed-off-by: Alex Chiang <achiang@...com>
> > >> Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
> > >> ---
> > >>  lib/kobject.c |    1 +
> > >>  1 files changed, 1 insertions(+), 0 deletions(-)
> > >>
> > >> diff --git a/lib/kobject.c b/lib/kobject.c
> > >> index 718e510..dcade05 100644
> > >> --- a/lib/kobject.c
> > >> +++ b/lib/kobject.c
> > >> @@ -439,6 +439,7 @@ out:
> > >>  
> > >>  	return error;
> > >>  }
> > >> +EXPORT_SYMBOL_GPL(kobject_rename);
> > > 
> > > Shouldn't this go straight into 2.6.26?

Originally, gregkh told me "no" because then he would have to
deal with a bunch of patching removing an unused interface, which
is why it showed up as a separate patch in my series.

> > I think "No", because currently its only required by Alex's "pci slot"
> > patches.
> 
> In that case the fix should be integrated into the patch which it is
> fixing.
> 
> Well, it doesn't _have_ to be integrated because in this case it can
> precede acpi-pci-slot-detection-driver.patch.  But we might as well
> fold it, to keep the commit noise level down.

Ok, that makes sense to me.

/ac

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ