2003-03-11 20:28:20

by Benjamin LaHaise

[permalink] [raw]
Subject: Re: [PATCH] include stddef.h in include/linux/list.h

On Tue, Mar 11, 2003 at 05:47:54PM +0000, Linux Kernel Mailing List wrote:
> diff -Nru a/include/linux/list.h b/include/linux/list.h
> --- a/include/linux/list.h Tue Mar 11 11:07:05 2003
> +++ b/include/linux/list.h Tue Mar 11 11:07:05 2003
> @@ -3,6 +3,7 @@
>
> #ifdef __KERNEL__
>
> +#include <linux/stddef.h>
> #include <linux/prefetch.h>
> #include <linux/stddef.h>
> #include <asm/system.h>

Huh? Surely you meant to delete the extra stddef.h include...

-ben
--
Junk email? <a href="mailto:[email protected]">[email protected]</a>


2003-03-15 15:01:33

by Greg Ungerer

[permalink] [raw]
Subject: Re: [PATCH] include stddef.h in include/linux/list.h

Hi Benjamin,

Benjamin LaHaise wrote:
> On Tue, Mar 11, 2003 at 05:47:54PM +0000, Linux Kernel Mailing List wrote:
>
>>diff -Nru a/include/linux/list.h b/include/linux/list.h
>>--- a/include/linux/list.h Tue Mar 11 11:07:05 2003
>>+++ b/include/linux/list.h Tue Mar 11 11:07:05 2003
>>@@ -3,6 +3,7 @@
>>
>> #ifdef __KERNEL__
>>
>>+#include <linux/stddef.h>
>> #include <linux/prefetch.h>
>> #include <linux/stddef.h>
>> #include <asm/system.h>
>
>
> Huh? Surely you meant to delete the extra stddef.h include...

No the original patch included stddef.h, when none was included.
Obviously 2 patch sets have been applied post 2.5.64 that are
trying to do the same thing.

Regards
Greg



------------------------------------------------------------------------
Greg Ungerer -- Chief Software Wizard EMAIL: [email protected]
SnapGear Pty Ltd PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com