* [PATCH -next] phonet: fix build when PROC_FS is disabled
@ 2009-08-17 20:35 Randy Dunlap
2009-08-17 20:43 ` Rémi Denis-Courmont
0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2009-08-17 20:35 UTC (permalink / raw)
To: Linux Kernel Mailing List, linux-next, Netdev; +Cc: David Miller, Andrew Morton
From: Randy Dunlap <randy.dunlap@oracle.com>
Fix phonet build when PROC_FS is not enabled:
net/built-in.o: In function `pn_sock_open':
socket.c:(.text+0x23c649): undefined reference to `seq_open_net'
net/built-in.o:(.rodata+0x21018): undefined reference to `seq_release_net'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
net/phonet/socket.c | 2 ++
1 file changed, 2 insertions(+)
--- linux-next-20090817.orig/net/phonet/socket.c
+++ linux-next-20090817/net/phonet/socket.c
@@ -413,6 +413,7 @@ found:
}
EXPORT_SYMBOL(pn_sock_get_port);
+#ifdef CONFIG_PROC_FS
static struct sock *pn_sock_get_idx(struct seq_file *seq, loff_t pos)
{
struct net *net = seq_file_net(seq);
@@ -509,3 +510,4 @@ const struct file_operations pn_sock_seq
.llseek = seq_lseek,
.release = seq_release_net,
};
+#endif
--
~Randy
LPC 2009, Sept. 23-25, Portland, Oregon
http://linuxplumbersconf.org/2009/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH -next] phonet: fix build when PROC_FS is disabled
2009-08-17 20:35 [PATCH -next] phonet: fix build when PROC_FS is disabled Randy Dunlap
@ 2009-08-17 20:43 ` Rémi Denis-Courmont
2009-08-18 0:49 ` David Miller
0 siblings, 1 reply; 3+ messages in thread
From: Rémi Denis-Courmont @ 2009-08-17 20:43 UTC (permalink / raw)
To: Randy Dunlap
Cc: Linux Kernel Mailing List, linux-next, Netdev, David Miller,
Andrew Morton
Le lundi 17 août 2009 23:35:49 Randy Dunlap, vous avez écrit :
> From: Randy Dunlap <randy.dunlap@oracle.com>
>
> Fix phonet build when PROC_FS is not enabled:
>
> net/built-in.o: In function `pn_sock_open':
> socket.c:(.text+0x23c649): undefined reference to `seq_open_net'
> net/built-in.o:(.rodata+0x21018): undefined reference to `seq_release_net'
>
> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
--
Rémi Denis-Courmont
http://www.remlab.net/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH -next] phonet: fix build when PROC_FS is disabled
2009-08-17 20:43 ` Rémi Denis-Courmont
@ 2009-08-18 0:49 ` David Miller
0 siblings, 0 replies; 3+ messages in thread
From: David Miller @ 2009-08-18 0:49 UTC (permalink / raw)
To: remi; +Cc: randy.dunlap, linux-kernel, linux-next, netdev, akpm
From: "Rémi Denis-Courmont" <remi@remlab.net>
Date: Mon, 17 Aug 2009 23:43:43 +0300
> Le lundi 17 août 2009 23:35:49 Randy Dunlap, vous avez écrit :
>> From: Randy Dunlap <randy.dunlap@oracle.com>
>>
>> Fix phonet build when PROC_FS is not enabled:
>>
>> net/built-in.o: In function `pn_sock_open':
>> socket.c:(.text+0x23c649): undefined reference to `seq_open_net'
>> net/built-in.o:(.rodata+0x21018): undefined reference to `seq_release_net'
>>
>> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
>
> Acked-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-08-18 0:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-17 20:35 [PATCH -next] phonet: fix build when PROC_FS is disabled Randy Dunlap
2009-08-17 20:43 ` Rémi Denis-Courmont
2009-08-18 0:49 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.