The patch titled uml: include stddef.h correctly has been added to the -mm tree. Its filename is uml-include-stddefh-correctly.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: uml: include stddef.h correctly From: Jeff Dike <jdike@xxxxxxxxxxx> We were not including stddef.h in files that used offsetof. One file was also including linux/stddef.h for no perciptible reason. Signed-off-by: Jeff Dike <jdike@xxxxxxxxxxx> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@xxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- arch/um/sys-i386/ldt.c | 1 - arch/um/sys-i386/ptrace_user.c | 2 +- arch/um/sys-i386/user-offsets.c | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff -puN arch/um/sys-i386/ldt.c~uml-include-stddefh-correctly arch/um/sys-i386/ldt.c --- a/arch/um/sys-i386/ldt.c~uml-include-stddefh-correctly +++ a/arch/um/sys-i386/ldt.c @@ -3,7 +3,6 @@ * Licensed under the GPL */ -#include "linux/stddef.h" #include "linux/sched.h" #include "linux/slab.h" #include "linux/types.h" diff -puN arch/um/sys-i386/ptrace_user.c~uml-include-stddefh-correctly arch/um/sys-i386/ptrace_user.c --- a/arch/um/sys-i386/ptrace_user.c~uml-include-stddefh-correctly +++ a/arch/um/sys-i386/ptrace_user.c @@ -4,9 +4,9 @@ */ #include <stdio.h> +#include <stddef.h> #include <errno.h> #include <unistd.h> -#include <linux/stddef.h> #include "ptrace_user.h" /* Grr, asm/user.h includes asm/ptrace.h, so has to follow ptrace_user.h */ #include <asm/user.h> diff -puN arch/um/sys-i386/user-offsets.c~uml-include-stddefh-correctly arch/um/sys-i386/user-offsets.c --- a/arch/um/sys-i386/user-offsets.c~uml-include-stddefh-correctly +++ a/arch/um/sys-i386/user-offsets.c @@ -2,7 +2,7 @@ #include <signal.h> #include <asm/ptrace.h> #include <asm/user.h> -#include <linux/stddef.h> +#include <stddef.h> #include <sys/poll.h> #define DEFINE(sym, val) \ _ Patches currently in -mm which might be from jdike@xxxxxxxxxxx are x86_64-i386-kernel-mode-faults-pollute-current-thead.patch uml-include-stddefh-correctly.patch uml-include-asm-pageh-in-order-to-get-page_shift.patch uml-size-register-files-correctly.patch uml-use-get_random_bytes-after-random-pool-is-seeded.patch uml-fix-prototypes.patch tty-signal-tty-locking.patch uml-add-generic-bug-support.patch add-process_session-helper-routine-deprecate-old-field-fix-warnings-fix.patch tty-switch-to-ktermios-uml-fix.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html