]> git.baikalelectronics.ru Git - kernel.git/commit
android/binder.h: add linux/android/binder(fs).h to UAPI compile-test coverage
authorMasahiro Yamada <masahiroy@kernel.org>
Thu, 10 Feb 2022 02:11:26 +0000 (11:11 +0900)
committerArnd Bergmann <arnd@arndb.de>
Thu, 17 Feb 2022 08:09:37 +0000 (09:09 +0100)
commitd7f56adb0d49ff0c28df33531dac478af447f54a
treefb708729d0549ba2856c565ac6a3996c4bdbd8f3
parentaf896bb3caf198ccc8a45c13258f95e7cb40109e
android/binder.h: add linux/android/binder(fs).h to UAPI compile-test coverage

linux/android/binder.h and linux/android/binderfs.h are currently
excluded from the UAPI compile-test because of the errors like follows:

    HDRTEST usr/include/linux/android/binder.h
  In file included from <command-line>:
  ./usr/include/linux/android/binder.h:291:9: error: unknown type name ‘pid_t’
    291 |         pid_t           sender_pid;
        |         ^~~~~
  ./usr/include/linux/android/binder.h:292:9: error: unknown type name ‘uid_t’
    292 |         uid_t           sender_euid;
        |         ^~~~~

The errors can be fixed by replacing {pid,uid}_t with __kernel_{pid,uid}_t.

Then, remove the no-header-test entries from user/include/Makefile.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
include/uapi/linux/android/binder.h
usr/include/Makefile