The patch titled Subject: asm-generic/bug.h: declare struct pt_regs; before function prototype has been removed from the -mm tree. Its filename was asm-generic-bugh-declare-struct-pt_regs-before-function-prototype.patch This patch was dropped because an updated version will be merged ------------------------------------------------------ From: Ian Abbott <abbotti@xxxxxxxxx> Subject: asm-generic/bug.h: declare struct pt_regs; before function prototype The declaration of `__warn()` has `struct pt_regs *regs` as one of its parameters. This can result in compiler warnings if `struct regs` is not already declared. Add an empty declaration of `struct pt_regs` to avoid the warnings. Link: http://lkml.kernel.org/r/20170523160112.3446-2-abbotti@xxxxxxxxx Signed-off-by: Ian Abbott <abbotti@xxxxxxxxx> Acked-by: Arnd Bergmann <arnd@xxxxxxxx> Acked-by: Michal Nazarewicz <mina86@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/asm-generic/bug.h | 1 + 1 file changed, 1 insertion(+) diff -puN include/asm-generic/bug.h~asm-generic-bugh-declare-struct-pt_regs-before-function-prototype include/asm-generic/bug.h --- a/include/asm-generic/bug.h~asm-generic-bugh-declare-struct-pt_regs-before-function-prototype +++ a/include/asm-generic/bug.h @@ -97,6 +97,7 @@ extern void warn_slowpath_null(const cha /* used internally by panic.c */ struct warn_args; +struct pt_regs; void __warn(const char *file, int line, void *caller, unsigned taint, struct pt_regs *regs, struct warn_args *args); _ Patches currently in -mm which might be from abbotti@xxxxxxxxx are kernelh-handle-pointers-to-arrays-better-in-container_of.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