lkml.org 
[lkml]   [2022]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/8] UAPI: make more exported headers self-contained, and put them into test coverage
Date

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

\
 
 \ /
  Last update: 2022-04-04 08:21    [W:0.238 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site