Messages in this thread | | | From | Arnd Bergmann <> | Date | Thu, 10 Feb 2022 10:37:47 +0100 | Subject | Re: [PATCH 3/6] android/binder.h: add linux/android/binder(fs).h to UAPI compile-test coverage |
| |
On Thu, Feb 10, 2022 at 3:11 AM Masahiro Yamada <masahiroy@kernel.org> wrote: > > 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>
| |