Skip to content

Commit 67bf474

Browse files
committed
kbuild: update compile-test header list for v5.3-rc1
- Some headers graduated from the blacklist - hyperv_timer.h joined the header-test when CONFIG_X86=y - nf_tables*.h joined the header-test when CONFIG_NF_TABLES is enabled. - The entry for nf_tables_offload.h was added to fix build error for the combination of CONFIG_NF_TABLES=n and CONFIG_KERNEL_HEADER_TEST=y. - The entry for iomap.h was added because this header is supposed to be included only when CONFIG_BLOCK=y Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
1 parent 9f69a49 commit 67bf474

2 files changed

Lines changed: 6 additions & 16 deletions

File tree

‎include/Kbuild‎

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ header-test- += acpi/platform/acintel.h
3131
header-test- += acpi/platform/aclinux.h
3232
header-test- += acpi/platform/aclinuxex.h
3333
header-test- += acpi/processor.h
34-
header-test- += clocksource/hyperv_timer.h
34+
header-test-$(CONFIG_X86) += clocksource/hyperv_timer.h
3535
header-test- += clocksource/timer-sp804.h
3636
header-test- += crypto/cast_common.h
3737
header-test- += crypto/internal/cryptouser.h
@@ -246,6 +246,7 @@ header-test- += linux/intel-pti.h
246246
header-test- += linux/intel-svm.h
247247
header-test- += linux/interconnect-provider.h
248248
header-test- += linux/ioc3.h
249+
header-test-$(CONFIG_BLOCK) += linux/iomap.h
249250
header-test- += linux/ipack.h
250251
header-test- += linux/irq_cpustat.h
251252
header-test- += linux/irq_poll.h
@@ -454,9 +455,6 @@ header-test- += linux/phy/omap_control_phy.h
454455
header-test- += linux/phy/tegra/xusb.h
455456
header-test- += linux/phy/ulpi_phy.h
456457
header-test- += linux/phy_fixed.h
457-
header-test- += linux/pinctrl/pinconf-generic.h
458-
header-test- += linux/pinctrl/pinconf.h
459-
header-test- += linux/pinctrl/pinctrl.h
460458
header-test- += linux/pipe_fs_i.h
461459
header-test- += linux/pktcdvd.h
462460
header-test- += linux/pl320-ipc.h
@@ -905,10 +903,11 @@ header-test- += net/netfilter/nf_nat_redirect.h
905903
header-test- += net/netfilter/nf_queue.h
906904
header-test- += net/netfilter/nf_reject.h
907905
header-test- += net/netfilter/nf_synproxy.h
908-
header-test- += net/netfilter/nf_tables.h
909-
header-test- += net/netfilter/nf_tables_core.h
910-
header-test- += net/netfilter/nf_tables_ipv4.h
906+
header-test-$(CONFIG_NF_TABLES) += net/netfilter/nf_tables.h
907+
header-test-$(CONFIG_NF_TABLES) += net/netfilter/nf_tables_core.h
908+
header-test-$(CONFIG_NF_TABLES) += net/netfilter/nf_tables_ipv4.h
911909
header-test- += net/netfilter/nf_tables_ipv6.h
910+
header-test-$(CONFIG_NF_TABLES) += net/netfilter/nf_tables_offload.h
912911
header-test- += net/netfilter/nft_fib.h
913912
header-test- += net/netfilter/nft_meta.h
914913
header-test- += net/netfilter/nft_reject.h
@@ -949,7 +948,6 @@ header-test- += pcmcia/ds.h
949948
header-test- += rdma/ib.h
950949
header-test- += rdma/iw_portmap.h
951950
header-test- += rdma/opa_port_info.h
952-
header-test- += rdma/rdma_counter.h
953951
header-test- += rdma/rdmavt_cq.h
954952
header-test- += rdma/restrack.h
955953
header-test- += rdma/signature.h

‎usr/include/Makefile‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ header-test-$(CONFIG_CPU_BIG_ENDIAN) += linux/byteorder/big_endian.h
3030
header-test-$(CONFIG_CPU_LITTLE_ENDIAN) += linux/byteorder/little_endian.h
3131
header-test- += linux/coda.h
3232
header-test- += linux/coda_psdev.h
33-
header-test- += linux/dvb/audio.h
34-
header-test- += linux/dvb/osd.h
3533
header-test- += linux/elfcore.h
3634
header-test- += linux/errqueue.h
3735
header-test- += linux/fsmap.h
@@ -44,7 +42,6 @@ header-test- += linux/netfilter_bridge/ebtables.h
4442
header-test- += linux/netfilter_ipv4/ipt_LOG.h
4543
header-test- += linux/netfilter_ipv6/ip6t_LOG.h
4644
header-test- += linux/nfc.h
47-
header-test- += linux/nilfs2_ondisk.h
4845
header-test- += linux/omap3isp.h
4946
header-test- += linux/omapfb.h
5047
header-test- += linux/patchkey.h
@@ -59,9 +56,6 @@ header-test- += linux/v4l2-mediabus.h
5956
header-test- += linux/v4l2-subdev.h
6057
header-test- += linux/videodev2.h
6158
header-test- += linux/vm_sockets.h
62-
header-test- += misc/ocxl.h
63-
header-test- += mtd/mtd-abi.h
64-
header-test- += mtd/mtd-user.h
6559
header-test- += scsi/scsi_bsg_fc.h
6660
header-test- += scsi/scsi_netlink.h
6761
header-test- += scsi/scsi_netlink_fc.h
@@ -108,15 +102,13 @@ header-test- += linux/bpf_perf_event.h
108102
endif
109103

110104
ifeq ($(SRCARCH),s390)
111-
header-test- += asm/runtime_instr.h
112105
header-test- += asm/zcrypt.h
113106
endif
114107

115108
ifeq ($(SRCARCH),sparc)
116109
header-test- += asm/stat.h
117110
header-test- += asm/uctx.h
118111
header-test- += asm/fbio.h
119-
header-test- += asm/openpromio.h
120112
endif
121113

122114
# asm-generic/*.h is used by asm/*.h, and should not be included directly

0 commit comments

Comments
 (0)