linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the powerpc tree
@ 2012-11-28  3:03 Stephen Rothwell
  2012-11-28  4:28 ` Benjamin Herrenschmidt
  2012-11-28 19:42 ` [PATCH] export of_reconfig_notifier_[register,unregister] Nathan Fontenot
  0 siblings, 2 replies; 4+ messages in thread
From: Stephen Rothwell @ 2012-11-28  3:03 UTC (permalink / raw)
  To: Benjamin Herrenschmidt, Paul Mackerras, linuxppc-dev
  Cc: linux-next, linux-kernel, Nathan Fontenot, Rob Herring,
	Grant Likely

[-- Attachment #1: Type: text/plain, Size: 472 bytes --]

Hi all,

After merging the powerpc tree, next-20121115's build (powerpc
allmodconfig) failed like this:

ERROR: ".of_reconfig_notifier_register" [drivers/crypto/nx/nx-compress.ko] undefined!
ERROR: ".of_reconfig_notifier_unregister" [drivers/crypto/nx/nx-compress.ko] undefined!

Caused by commit 1cf3d8b3d24c ("powerpc+of: Add of node/property
notification chain for adds and removes").

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: linux-next: build failure after merge of the powerpc tree
  2012-11-28  3:03 linux-next: build failure after merge of the powerpc tree Stephen Rothwell
@ 2012-11-28  4:28 ` Benjamin Herrenschmidt
  2012-11-28 19:42 ` [PATCH] export of_reconfig_notifier_[register,unregister] Nathan Fontenot
  1 sibling, 0 replies; 4+ messages in thread
From: Benjamin Herrenschmidt @ 2012-11-28  4:28 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Paul Mackerras, linuxppc-dev, linux-next, linux-kernel,
	Nathan Fontenot, Rob Herring, Grant Likely, Ashley Lai

On Wed, 2012-11-28 at 14:03 +1100, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the powerpc tree, next-20121115's build (powerpc
> allmodconfig) failed like this:
> 
> ERROR: ".of_reconfig_notifier_register" [drivers/crypto/nx/nx-compress.ko] undefined!
> ERROR: ".of_reconfig_notifier_unregister" [drivers/crypto/nx/nx-compress.ko] undefined!
> 
> Caused by commit 1cf3d8b3d24c ("powerpc+of: Add of node/property
> notification chain for adds and removes").

That nx stuff should just have gone through the powerpc tree... that's
not the first time it trips on generic changes because we miss it
being in the crypto tree...

Ashley, Nathan, who owns that ? Can you come up with a fixup patch ?

Ben.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] export of_reconfig_notifier_[register,unregister]
  2012-11-28  3:03 linux-next: build failure after merge of the powerpc tree Stephen Rothwell
  2012-11-28  4:28 ` Benjamin Herrenschmidt
@ 2012-11-28 19:42 ` Nathan Fontenot
  2012-11-29  6:07   ` Benjamin Herrenschmidt
  1 sibling, 1 reply; 4+ messages in thread
From: Nathan Fontenot @ 2012-11-28 19:42 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Benjamin Herrenschmidt, Paul Mackerras, linuxppc-dev, linux-next,
	linux-kernel, Rob Herring, Grant Likely

The of reconfiguration notification chains should be exported for use
by modules.

Signed-off-by:Nathan Fontenot <nfont@linux.vnet.ibm.com>
---
Index: linux-next/drivers/of/base.c
===================================================================
--- linux-next.orig/drivers/of/base.c	2012-11-28 09:18:02.000000000 -0600
+++ linux-next/drivers/of/base.c	2012-11-28 11:05:00.000000000 -0600
@@ -1282,11 +1282,13 @@
 {
 	return blocking_notifier_chain_register(&of_reconfig_chain, nb);
 }
+EXPORT_SYMBOL_GPL(of_reconfig_notifier_register);
 
 int of_reconfig_notifier_unregister(struct notifier_block *nb)
 {
 	return blocking_notifier_chain_unregister(&of_reconfig_chain, nb);
 }
+EXPORT_SYMBOL_GPL(of_reconfig_notifier_unregister);
 
 int of_reconfig_notify(unsigned long action, void *p)
 {

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] export of_reconfig_notifier_[register,unregister]
  2012-11-28 19:42 ` [PATCH] export of_reconfig_notifier_[register,unregister] Nathan Fontenot
@ 2012-11-29  6:07   ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 4+ messages in thread
From: Benjamin Herrenschmidt @ 2012-11-29  6:07 UTC (permalink / raw)
  To: Nathan Fontenot
  Cc: Stephen Rothwell, Paul Mackerras, linuxppc-dev, linux-next,
	linux-kernel, Rob Herring, Grant Likely

On Wed, 2012-11-28 at 13:42 -0600, Nathan Fontenot wrote:
> The of reconfiguration notification chains should be exported for use
> by modules.
> 
> Signed-off-by:Nathan Fontenot <nfont@linux.vnet.ibm.com>

Grant, I'm applying that into the powerpc tree (with a slightly modified
subject line). You don't need to add it to your tree at this stage I
suspect.

Cheers,
Ben.

> ---
> Index: linux-next/drivers/of/base.c
> ===================================================================
> --- linux-next.orig/drivers/of/base.c	2012-11-28 09:18:02.000000000 -0600
> +++ linux-next/drivers/of/base.c	2012-11-28 11:05:00.000000000 -0600
> @@ -1282,11 +1282,13 @@
>  {
>  	return blocking_notifier_chain_register(&of_reconfig_chain, nb);
>  }
> +EXPORT_SYMBOL_GPL(of_reconfig_notifier_register);
>  
>  int of_reconfig_notifier_unregister(struct notifier_block *nb)
>  {
>  	return blocking_notifier_chain_unregister(&of_reconfig_chain, nb);
>  }
> +EXPORT_SYMBOL_GPL(of_reconfig_notifier_unregister);
>  
>  int of_reconfig_notify(unsigned long action, void *p)
>  {
> 
> --
> 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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-11-29  6:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-28  3:03 linux-next: build failure after merge of the powerpc tree Stephen Rothwell
2012-11-28  4:28 ` Benjamin Herrenschmidt
2012-11-28 19:42 ` [PATCH] export of_reconfig_notifier_[register,unregister] Nathan Fontenot
2012-11-29  6:07   ` Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).