Netdev List
 help / color / mirror / Atom feed
* [PATCH] wan: pci200syn needs capability.h
       [not found] <20091013162312.8b93998b.sfr@canb.auug.org.au>
@ 2009-10-13 17:00 ` Randy Dunlap
  2009-10-13 17:19   ` Krzysztof Halasa
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2009-10-13 17:00 UTC (permalink / raw)
  To: Stephen Rothwell, davem, Krzysztof Halasa; +Cc: linux-next, LKML, netdev

From: Randy Dunlap <randy.dunlap@oracle.com>

Driver is missing header file capability.h:

drivers/net/wan/pci200syn.c:212: error: implicit declaration of function 'capable'
drivers/net/wan/pci200syn.c:212: error: 'CAP_NET_ADMIN' undeclared (first use in this function)

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 drivers/net/wan/pci200syn.c |    1 +
 1 file changed, 1 insertion(+)

--- linux-next-20091012.orig/drivers/net/wan/pci200syn.c
+++ linux-next-20091012/drivers/net/wan/pci200syn.c
@@ -18,6 +18,7 @@
 #include <linux/kernel.h>
 #include <linux/slab.h>
 #include <linux/types.h>
+#include <linux/capability.h>
 #include <linux/fcntl.h>
 #include <linux/in.h>
 #include <linux/string.h>

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

* Re: [PATCH] wan: pci200syn needs capability.h
  2009-10-13 17:00 ` [PATCH] wan: pci200syn needs capability.h Randy Dunlap
@ 2009-10-13 17:19   ` Krzysztof Halasa
  0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Halasa @ 2009-10-13 17:19 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: Stephen Rothwell, davem, linux-next, LKML, netdev

Randy Dunlap <randy.dunlap@oracle.com> writes:

> Driver is missing header file capability.h:
>
> drivers/net/wan/pci200syn.c:212: error: implicit declaration of function 'capable'
> drivers/net/wan/pci200syn.c:212: error: 'CAP_NET_ADMIN' undeclared (first use in this function)

Thanks, but I think a patch for a bunch of WAN drivers has been already
posted.
-- 
Krzysztof Halasa

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

end of thread, other threads:[~2009-10-13 17:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20091013162312.8b93998b.sfr@canb.auug.org.au>
2009-10-13 17:00 ` [PATCH] wan: pci200syn needs capability.h Randy Dunlap
2009-10-13 17:19   ` Krzysztof Halasa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox