The patch titled Subject: linux/scc.h: make uapi linux/scc.h self-contained has been added to the -mm tree. Its filename is linux-scch-make-uapi-linux-scch-self-contained.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/linux-scch-make-uapi-linux-scch-self-contained.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/linux-scch-make-uapi-linux-scch-self-contained.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx> Subject: linux/scc.h: make uapi linux/scc.h self-contained Userspace cannot compile <linux/scc.h> CC usr/include/linux/scc.h.s In file included from <command-line>:32:0: ./usr/include/linux/scc.h:20:20: error: `SIOCDEVPRIVATE' undeclared here (not in a function) SIOCSCCRESERVED = SIOCDEVPRIVATE, ^~~~~~~~~~~~~~ Include <linux/sockios.h> to make it self-contained, and add it to the compile-test coverage. Link: http://lkml.kernel.org/r/20191108055809.26969-1-yamada.masahiro@xxxxxxxxxxxxx Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/uapi/linux/scc.h | 1 + usr/include/Makefile | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) --- a/include/uapi/linux/scc.h~linux-scch-make-uapi-linux-scch-self-contained +++ a/include/uapi/linux/scc.h @@ -4,6 +4,7 @@ #ifndef _UAPI_SCC_H #define _UAPI_SCC_H +#include <linux/sockios.h> /* selection of hardware types */ --- a/usr/include/Makefile~linux-scch-make-uapi-linux-scch-self-contained +++ a/usr/include/Makefile @@ -44,7 +44,6 @@ header-test- += linux/omapfb.h header-test- += linux/patchkey.h header-test- += linux/phonet.h header-test- += linux/reiserfs_xattr.h -header-test- += linux/scc.h header-test- += linux/sctp.h header-test- += linux/signal.h header-test- += linux/sysctl.h _ Patches currently in -mm which might be from yamada.masahiro@xxxxxxxxxxxxx are mm-fixmap-convert-__set_fixmap_offset-to-an-inline-function.patch linux-scch-make-uapi-linux-scch-self-contained.patch arch-ipcbufh-make-uapi-asm-ipcbufh-self-contained.patch arch-msgbufh-make-uapi-asm-msgbufh-self-contained.patch arch-sembufh-make-uapi-asm-sembufh-self-contained.patch