Masahiro Yamada 6cd6356206 mips: use __kernel_{uid,gid}32_t in uapi/asm/stat.h
Commit 8c1a381a4fbb ("mips: add asm/stat.h to UAPI compile-test
coverage") converted as follows:

  uid_t  -->  __kernel_uid_t
  gid_t  -->  __kernel_gid_t

The bit width of __kernel_{uid,gid}_t is 16 or 32-bits depending on
architectures.

MIPS uses 32-bits for them as in include/uapi/asm-generic/posix_types.h,
so the previous conversion is probably fine, but let's stick to the
arch-independent conversion just in case.

The safe replacements across all architectures are:

  uid_t  -->  __kernel_uid32_t
  gid_t  -->  __kernel_gid32_t

as defined in include/linux/types.h.

A similar issue was reported for the android binder. [1]

[1]: https://lore.kernel.org/all/20220601010017.2639048-1-cmllamas@google.com/

Fixes: 8c1a381a4fbb ("mips: add asm/stat.h to UAPI compile-test coverage")
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-06-02 17:38:15 +02:00
..
2022-01-17 08:07:57 +02:00
2022-03-28 12:50:50 -07:00
2022-04-01 10:19:03 +02:00
2022-03-31 11:59:03 -07:00
2022-02-05 09:55:59 -08:00
2021-01-22 11:40:00 +01:00
2022-03-25 13:02:05 -07:00
2022-03-28 12:50:50 -07:00
2021-10-18 18:09:54 +02:00
2022-03-01 10:07:22 +01:00
2022-02-07 18:31:57 +01:00
2022-03-01 10:07:22 +01:00