platform_bionic/libc/kernel/uapi/mtd
Elliott Hughes 0f0c18f695 uapi headers: simplify the <linux/compiler.h> stuff.
We don't really need <linux/compiler.h> and <linux/compiler_types.h>. We
already have a mechanism to remove unused macros, so let's do that. We
don't currently have a way to remove unused #includes, so we still need
<linux/compiler.h> and <linux/compiler_types.h> files (but I've clarified
the comments in them).

I've kept the empty definitions of `__user` and `__force` for source
compatibility. (We had one security test at least that was assuming
a kernel struct definition will "just work".)

Bug: http://b/262917450
Test: treehugger
Change-Id: Iacbbbc1aeef9a4fac52dabd7811ab875cc267d4f
2023-03-30 12:47:08 -07:00
..
inftl-user.h Remove the repetitive warnings from the uapi headers. 2017-05-25 13:48:01 -07:00
mtd-abi.h uapi headers: simplify the <linux/compiler.h> stuff. 2023-03-30 12:47:08 -07:00
mtd-user.h Remove the repetitive warnings from the uapi headers. 2017-05-25 13:48:01 -07:00
nftl-user.h Remove the repetitive warnings from the uapi headers. 2017-05-25 13:48:01 -07:00
ubi-user.h Merge "Replace __packed with __attribute__((__packed__)) in uapi headers" 2022-12-17 01:49:22 +00:00