[PATCH 0/8] UAPI: make more exported headers self-contained, and put them into test coverage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here are more efforts to put more headers to UAPI compile testing
(CONFIG_UAPI_HEADER_TEST).

I am sending this series to Arnd because he has deep knowledge for the
kernel APIs and manages asm-generic pull requests.



Masahiro Yamada (8):
  agpgart.h: do not include <stdlib.h> from exported header
  kbuild: prevent exported headers from including <stdlib.h>,
    <stdbool.h>
  riscv: add linux/bpf_perf_event.h to UAPI compile-test coverage
  mips: add asm/stat.h to UAPI compile-test coverage
  powerpc: add asm/stat.h to UAPI compile-test coverage
  sparc: add asm/stat.h to UAPI compile-test coverage
  posix_types.h: add __kernel_uintptr_t to UAPI posix_types.h
  virtio_ring.h: do not include <stdint.h> from exported header

 arch/h8300/include/uapi/asm/posix_types.h  |  1 +
 arch/mips/include/uapi/asm/stat.h          | 20 ++++++++++----------
 arch/powerpc/include/uapi/asm/stat.h       | 10 +++++-----
 arch/s390/include/uapi/asm/posix_types.h   |  2 ++
 arch/sparc/include/uapi/asm/posix_types.h  |  1 +
 arch/sparc/include/uapi/asm/stat.h         | 12 ++++++------
 arch/xtensa/include/uapi/asm/posix_types.h |  1 +
 include/linux/types.h                      |  2 +-
 include/uapi/asm-generic/posix_types.h     |  2 ++
 include/uapi/linux/agpgart.h               |  9 ++++-----
 include/uapi/linux/virtio_ring.h           |  6 ++----
 tools/arch/h8300/include/asm/bitsperlong.h |  1 +
 usr/dummy-include/stdbool.h                |  7 +++++++
 usr/dummy-include/stdlib.h                 |  7 +++++++
 usr/include/Makefile                       | 12 +-----------
 15 files changed, 51 insertions(+), 42 deletions(-)
 create mode 100644 usr/dummy-include/stdbool.h
 create mode 100644 usr/dummy-include/stdlib.h

-- 
2.32.0




[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux