]> git.baikalelectronics.ru Git - kernel.git/commit
um: Fix W=1 missing-include-dirs warnings
authorRandy Dunlap <rdunlap@infradead.org>
Thu, 15 Apr 2021 17:13:52 +0000 (10:13 -0700)
committerRichard Weinberger <richard@nod.at>
Thu, 15 Apr 2021 21:10:57 +0000 (23:10 +0200)
commitaf70e7fa8db5b2ed6d1680c0ee6516edbecd8e3c
treec4c7f5f29bfeff191cee78303c95b0a856307df4
parent25d1d681db44a85aebe78ecdc4755b0d60508980
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>
arch/um/include/uapi/asm/Kbuild [new file with mode: 0644]