linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] xen/9pfs: select CONFIG_XEN_XENBUS_FRONTEND
@ 2017-04-19 17:06 Arnd Bergmann
  2017-04-19 17:21 ` Stefano Stabellini
  0 siblings, 1 reply; 4+ messages in thread
From: Arnd Bergmann @ 2017-04-19 17:06 UTC (permalink / raw)
  To: Juergen Gross
  Cc: Stefano Stabellini, boris.ostrovsky, groug, xen-devel,
	Arnd Bergmann, Eric Van Hensbergen, Ron Minnich,
	Latchesar Ionkov, David S. Miller, Stefano Stabellini,
	v9fs-developer, netdev, linux-kernel

All Xen frontends need to select this symbol to avoid a link error:

net/built-in.o: In function `p9_trans_xen_init':
:(.text+0x149e9c): undefined reference to `__xenbus_register_frontend'

Fixes: d4b40a02f837 ("xen/9pfs: build 9pfs Xen transport driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 net/9p/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/9p/Kconfig b/net/9p/Kconfig
index 3f286f1bd1d3..e6014e0e51f7 100644
--- a/net/9p/Kconfig
+++ b/net/9p/Kconfig
@@ -24,6 +24,7 @@ config NET_9P_VIRTIO
 
 config NET_9P_XEN
 	depends on XEN
+	select XEN_XENBUS_FRONTEND
 	tristate "9P Xen Transport"
 	help
 	  This builds support for a transport for 9pfs between
-- 
2.9.0

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

* Re: [PATCH] xen/9pfs: select CONFIG_XEN_XENBUS_FRONTEND
  2017-04-19 17:06 [PATCH] xen/9pfs: select CONFIG_XEN_XENBUS_FRONTEND Arnd Bergmann
@ 2017-04-19 17:21 ` Stefano Stabellini
  2017-04-19 23:10   ` Stefano Stabellini
  0 siblings, 1 reply; 4+ messages in thread
From: Stefano Stabellini @ 2017-04-19 17:21 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: Juergen Gross, Stefano Stabellini, boris.ostrovsky, groug,
	xen-devel, Eric Van Hensbergen, Ron Minnich, Latchesar Ionkov,
	David S. Miller, Stefano Stabellini, v9fs-developer, netdev,
	linux-kernel

On Wed, 19 Apr 2017, Arnd Bergmann wrote:
> All Xen frontends need to select this symbol to avoid a link error:
> 
> net/built-in.o: In function `p9_trans_xen_init':
> :(.text+0x149e9c): undefined reference to `__xenbus_register_frontend'
> 
> Fixes: d4b40a02f837 ("xen/9pfs: build 9pfs Xen transport driver")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Thank you for the fix!

Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>


> ---
>  net/9p/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/net/9p/Kconfig b/net/9p/Kconfig
> index 3f286f1bd1d3..e6014e0e51f7 100644
> --- a/net/9p/Kconfig
> +++ b/net/9p/Kconfig
> @@ -24,6 +24,7 @@ config NET_9P_VIRTIO
>  
>  config NET_9P_XEN
>  	depends on XEN
> +	select XEN_XENBUS_FRONTEND
>  	tristate "9P Xen Transport"
>  	help
>  	  This builds support for a transport for 9pfs between
> -- 
> 2.9.0
> 

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

* Re: [PATCH] xen/9pfs: select CONFIG_XEN_XENBUS_FRONTEND
  2017-04-19 17:21 ` Stefano Stabellini
@ 2017-04-19 23:10   ` Stefano Stabellini
  2017-04-20  3:54     ` Juergen Gross
  0 siblings, 1 reply; 4+ messages in thread
From: Stefano Stabellini @ 2017-04-19 23:10 UTC (permalink / raw)
  To: jgross
  Cc: Arnd Bergmann, Stefano Stabellini, boris.ostrovsky, groug,
	xen-devel, Eric Van Hensbergen, Ron Minnich, Latchesar Ionkov,
	David S. Miller, v9fs-developer, netdev, linux-kernel

Juergen, I have committed this patch to for-linus-4.12 and linux-next, I
hope that's OK.

Og Wed, 19 Apr 2017, Stefano Stabellini wrote:
> On Wed, 19 Apr 2017, Arnd Bergmann wrote:
> > All Xen frontends need to select this symbol to avoid a link error:
> > 
> > net/built-in.o: In function `p9_trans_xen_init':
> > :(.text+0x149e9c): undefined reference to `__xenbus_register_frontend'
> > 
> > Fixes: d4b40a02f837 ("xen/9pfs: build 9pfs Xen transport driver")
> > Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> 
> Thank you for the fix!
> 
> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
> > ---
> >  net/9p/Kconfig | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/net/9p/Kconfig b/net/9p/Kconfig
> > index 3f286f1bd1d3..e6014e0e51f7 100644
> > --- a/net/9p/Kconfig
> > +++ b/net/9p/Kconfig
> > @@ -24,6 +24,7 @@ config NET_9P_VIRTIO
> >  
> >  config NET_9P_XEN
> >  	depends on XEN
> > +	select XEN_XENBUS_FRONTEND
> >  	tristate "9P Xen Transport"
> >  	help
> >  	  This builds support for a transport for 9pfs between
> > -- 
> > 2.9.0
> > 
> 

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

* Re: [PATCH] xen/9pfs: select CONFIG_XEN_XENBUS_FRONTEND
  2017-04-19 23:10   ` Stefano Stabellini
@ 2017-04-20  3:54     ` Juergen Gross
  0 siblings, 0 replies; 4+ messages in thread
From: Juergen Gross @ 2017-04-20  3:54 UTC (permalink / raw)
  To: Stefano Stabellini
  Cc: Arnd Bergmann, Stefano Stabellini, boris.ostrovsky, groug,
	xen-devel, Eric Van Hensbergen, Ron Minnich, Latchesar Ionkov,
	David S. Miller, v9fs-developer, netdev, linux-kernel

On 20/04/17 01:10, Stefano Stabellini wrote:
> Juergen, I have committed this patch to for-linus-4.12 and linux-next, I
> hope that's OK.

Sure.


Juergen

> 
> Og Wed, 19 Apr 2017, Stefano Stabellini wrote:
>> On Wed, 19 Apr 2017, Arnd Bergmann wrote:
>>> All Xen frontends need to select this symbol to avoid a link error:
>>>
>>> net/built-in.o: In function `p9_trans_xen_init':
>>> :(.text+0x149e9c): undefined reference to `__xenbus_register_frontend'
>>>
>>> Fixes: d4b40a02f837 ("xen/9pfs: build 9pfs Xen transport driver")
>>> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
>>
>> Thank you for the fix!
>>
>> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
>>> ---
>>>  net/9p/Kconfig | 1 +
>>>  1 file changed, 1 insertion(+)
>>>
>>> diff --git a/net/9p/Kconfig b/net/9p/Kconfig
>>> index 3f286f1bd1d3..e6014e0e51f7 100644
>>> --- a/net/9p/Kconfig
>>> +++ b/net/9p/Kconfig
>>> @@ -24,6 +24,7 @@ config NET_9P_VIRTIO
>>>  
>>>  config NET_9P_XEN
>>>  	depends on XEN
>>> +	select XEN_XENBUS_FRONTEND
>>>  	tristate "9P Xen Transport"
>>>  	help
>>>  	  This builds support for a transport for 9pfs between
>>> -- 
>>> 2.9.0
>>>
>>
> 

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

end of thread, other threads:[~2017-04-20  3:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-19 17:06 [PATCH] xen/9pfs: select CONFIG_XEN_XENBUS_FRONTEND Arnd Bergmann
2017-04-19 17:21 ` Stefano Stabellini
2017-04-19 23:10   ` Stefano Stabellini
2017-04-20  3:54     ` Juergen Gross

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).