···236236 /** Relative to the request header. */237237 __u32 offset;238238 } page_list;239239- } u;239239+ } __packed u;240240} __packed;241241VMMDEV_ASSERT_SIZE(vmmdev_hgcm_function_parameter32, 4 + 8);242242···251251 union {252252 __u64 phys_addr;253253 __u64 linear_addr;254254- } u;254254+ } __packed u;255255 } __packed pointer;256256 struct {257257 /** Size of the buffer described by the page list. */
+1-1
init/Kconfig
···247247248248config UAPI_HEADER_TEST249249 bool "Compile test UAPI headers"250250- depends on HEADERS_INSTALL && CC_CAN_LINK250250+ depends on HEADERS_INSTALL251251 help252252 Compile test headers exported to user-space to ensure they are253253 self-contained, i.e. compilable as standalone units.
+86-1
usr/include/Makefile
···6565no-header-test += asm/fbio.h6666endif67676868+ifeq ($(SRCARCH),xtensa)6969+no-header-test += linux/bpf_perf_event.h7070+endif7171+6872# asm-generic/*.h is used by asm/*.h, and should not be included directly6973no-header-test += asm-generic/%70747575+# The following are using libc header and types.7676+#7777+# Do not add a new header to the list without legitimate reason.7878+# Please consider to fix the header first.7979+#8080+# Sorted alphabetically.8181+uses-libc += linux/a.out.h8282+uses-libc += linux/atmbr2684.h8383+uses-libc += linux/auto_dev-ioctl.h8484+uses-libc += linux/auto_fs.h8585+uses-libc += linux/auto_fs4.h8686+uses-libc += linux/btrfs_tree.h8787+uses-libc += linux/cec-funcs.h8888+uses-libc += linux/cec.h8989+uses-libc += linux/dvb/dmx.h9090+uses-libc += linux/dvb/video.h9191+uses-libc += linux/ethtool.h9292+uses-libc += linux/ethtool_netlink.h9393+uses-libc += linux/fuse.h9494+uses-libc += linux/gsmmux.h9595+uses-libc += linux/icmp.h9696+uses-libc += linux/idxd.h9797+uses-libc += linux/if.h9898+uses-libc += linux/if_arp.h9999+uses-libc += linux/if_bonding.h100100+uses-libc += linux/if_pppox.h101101+uses-libc += linux/if_tunnel.h102102+uses-libc += linux/input.h103103+uses-libc += linux/ip6_tunnel.h104104+uses-libc += linux/joystick.h105105+uses-libc += linux/llc.h106106+uses-libc += linux/mctp.h107107+uses-libc += linux/mdio.h108108+uses-libc += linux/mii.h109109+uses-libc += linux/mptcp.h110110+uses-libc += linux/netdevice.h111111+uses-libc += linux/netfilter/xt_RATEEST.h112112+uses-libc += linux/netfilter/xt_hashlimit.h113113+uses-libc += linux/netfilter/xt_physdev.h114114+uses-libc += linux/netfilter/xt_rateest.h115115+uses-libc += linux/netfilter_arp/arp_tables.h116116+uses-libc += linux/netfilter_arp/arpt_mangle.h117117+uses-libc += linux/netfilter_bridge.h118118+uses-libc += linux/netfilter_bridge/ebtables.h119119+uses-libc += linux/netfilter_ipv4.h120120+uses-libc += linux/netfilter_ipv4/ip_tables.h121121+uses-libc += linux/netfilter_ipv6.h122122+uses-libc += linux/netfilter_ipv6/ip6_tables.h123123+uses-libc += linux/route.h124124+uses-libc += linux/shm.h125125+uses-libc += linux/soundcard.h126126+uses-libc += linux/string.h127127+uses-libc += linux/tipc_config.h128128+uses-libc += linux/uhid.h129129+uses-libc += linux/uinput.h130130+uses-libc += linux/vhost.h131131+uses-libc += linux/vhost_types.h132132+uses-libc += linux/virtio_ring.h133133+uses-libc += linux/wireless.h134134+uses-libc += regulator/regulator.h135135+uses-libc += scsi/fc/fc_els.h136136+137137+ifeq ($(SRCARCH),hexagon)138138+uses-libc += asm/sigcontext.h139139+endif140140+141141+ifeq ($(SRCARCH),nios2)142142+uses-libc += asm/ptrace.h143143+uses-libc += linux/bpf_perf_event.h144144+endif145145+146146+ifeq ($(SRCARCH),s390)147147+uses-libc += asm/chpid.h148148+uses-libc += asm/chsc.h149149+endif150150+71151always-y := $(patsubst $(obj)/%.h,%.hdrtest, $(shell find $(obj) -name '*.h' 2>/dev/null))152152+153153+target-no-libc = $(filter-out $(uses-libc), $*.h)154154+target-can-compile = $(and $(filter-out $(no-header-test), $*.h), \155155+ $(or $(CONFIG_CC_CAN_LINK), $(target-no-libc)))7215673157# Include the header twice to detect missing include guard.74158quiet_cmd_hdrtest = HDRTEST $<75159 cmd_hdrtest = \76160 $(CC) $(c_flags) -fsyntax-only -Werror -x c /dev/null \7777- $(if $(filter-out $(no-header-test), $*.h), -include $< -include $<); \161161+ $(if $(target-no-libc), -nostdinc) \162162+ $(if $(target-can-compile), -include $< -include $<); \78163 $(PERL) $(src)/headers_check.pl $(obj) $<; \79164 touch $@80165