[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.1.00.0803140359560.31711@localhost.localdomain>
Date: Fri, 14 Mar 2008 04:01:52 -0400 (EDT)
From: "Robert P. J. Day" <rpjday@...shcourse.ca>
To: Alexey Dobriyan <adobriyan@...il.com>
cc: Jan Engelhardt <jengelh@...putergmbh.de>,
Jesper Juhl <jesper.juhl@...il.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: whose job is it to include various header files?
On Fri, 14 Mar 2008, Alexey Dobriyan wrote:
> On Thu, Mar 13, 2008 at 09:53:01PM -0400, Robert P. J. Day wrote:
> > includes from <linux/percpu.h>:
> >
> > #include <linux/slab.h>
>
> This needed for kzalloc().
oh, &%^^%*(&^), you're right. i looked at the comment, where it said
it needed that include for "kmalloc", grepped, didn't see kmalloc so
thought that include was unnecessary. i didn't even notice the
"kzalloc". my bad, profuse apologies. argh.
rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.
http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists