summaryrefslogtreecommitdiffstats
path: root/arch/um
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2021-04-15 19:13:52 +0200
committerRichard Weinberger <richard@nod.at>2021-04-15 23:10:57 +0200
commited102bf2afed226703eaf85a704755bdbea34583 (patch)
treec4c7f5f29bfeff191cee78303c95b0a856307df4 /arch/um
parentum: elf.h: Fix W=1 warning for empty body in 'do' statement (diff)
downloadlinux-ed102bf2afed226703eaf85a704755bdbea34583.tar.xz
linux-ed102bf2afed226703eaf85a704755bdbea34583.zip
um: Fix W=1 missing-include-dirs warnings
Currently when using "W=1" with UML builds, there are over 700 warnings like so: CC arch/um/drivers/stderr_console.o cc1: warning: ./arch/um/include/uapi: No such file or directory [-Wmissing-include-dirs] but arch/um/ does not have include/uapi/ at all, so add that subdir and put one Kbuild file into it (since git does not track empty subdirs). Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Masahiro Yamada <masahiroy@kernel.org> Cc: Michal Marek <michal.lkml@markovi.net> Cc: linux-kbuild@vger.kernel.org Cc: Jeff Dike <jdike@addtoit.com> Cc: Richard Weinberger <richard@nod.at> Cc: Anton Ivanov <anton.ivanov@cambridgegreys.com> Cc: linux-um@lists.infradead.org Reviewed-by: Masahiro Yamada <masahiroy@kernel.org> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um')
-rw-r--r--arch/um/include/uapi/asm/Kbuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/um/include/uapi/asm/Kbuild b/arch/um/include/uapi/asm/Kbuild
new file mode 100644
index 000000000000..f66554cd5c45
--- /dev/null
+++ b/arch/um/include/uapi/asm/Kbuild
@@ -0,0 +1 @@
+# SPDX-License-Identifier: GPL-2.0