* [PATCH -next] can: softing_cs needs slab.h [not found] <20110209170225.94eae681.sfr@canb.auug.org.au> @ 2011-02-09 16:44 ` Randy Dunlap [not found] ` <20110209084456.802370fa.randy.dunlap-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org> 0 siblings, 1 reply; 2+ messages in thread From: Randy Dunlap @ 2011-02-09 16:44 UTC (permalink / raw) To: Stephen Rothwell, netdev; +Cc: linux-next, LKML, davem, socketcan-core From: Randy Dunlap <randy.dunlap@oracle.com> softing_cs.c uses kzalloc & kfree, so it needs to include linux/slab.h. drivers/net/can/softing/softing_cs.c:234: error: implicit declaration of function 'kfree' drivers/net/can/softing/softing_cs.c:271: error: implicit declaration of function 'kzalloc' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> --- drivers/net/can/softing/softing_cs.c | 1 + 1 file changed, 1 insertion(+) --- linux-next-20110209.orig/drivers/net/can/softing/softing_cs.c +++ linux-next-20110209/drivers/net/can/softing/softing_cs.c @@ -19,6 +19,7 @@ #include <linux/module.h> #include <linux/kernel.h> +#include <linux/slab.h> #include <pcmcia/cistpl.h> #include <pcmcia/ds.h> ^ permalink raw reply [flat|nested] 2+ messages in thread
[parent not found: <20110209084456.802370fa.randy.dunlap-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>]
* Re: [PATCH -next] can: softing_cs needs slab.h [not found] ` <20110209084456.802370fa.randy.dunlap-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org> @ 2011-02-09 20:43 ` David Miller 0 siblings, 0 replies; 2+ messages in thread From: David Miller @ 2011-02-09 20:43 UTC (permalink / raw) To: randy.dunlap-veTT2BtV2gBXrIkS9f7CXA Cc: socketcan-core-0fE9KPoRgkgATYTw5x5z8w, sfr-3FnU+UHB4dNDw9hX6IcOSA, linux-next-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, netdev-u79uwXL29TY76Z2rM5mHXA From: Randy Dunlap <randy.dunlap-veTT2BtV2gBXrIkS9f7CXA@public.gmane.org> Date: Wed, 9 Feb 2011 08:44:56 -0800 > From: Randy Dunlap <randy.dunlap-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org> > > softing_cs.c uses kzalloc & kfree, so it needs to include linux/slab.h. > > drivers/net/can/softing/softing_cs.c:234: error: implicit declaration of function 'kfree' > drivers/net/can/softing/softing_cs.c:271: error: implicit declaration of function 'kzalloc' > > Signed-off-by: Randy Dunlap <randy.dunlap-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org> Applied, thanks Randy. ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-09 20:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20110209170225.94eae681.sfr@canb.auug.org.au>
2011-02-09 16:44 ` [PATCH -next] can: softing_cs needs slab.h Randy Dunlap
[not found] ` <20110209084456.802370fa.randy.dunlap-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>
2011-02-09 20:43 ` David Miller
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).