Skip to content

Commit

Permalink
MLK-24874-1: include: uapi: fmd: fix the UAPI_HEADER_TEST/install fai…
Browse files Browse the repository at this point in the history
…lure

Enable CONFIG_UAPI_HEADER_TEST or make headers_install result in build issues:

include/uapi/linux/fmd/Peripherals/fm_port_ioctls.h: leak CONFIG_COMPAT to user-space
include/uapi/linux/fmd/Peripherals/fm_pcd_ioctls.h: leak CONFIG_COMPAT to user-space
include/uapi/linux/fmd/Peripherals/fm_ioctls.h: leak CONFIG_COMPAT to user-space

The comments from DN fix of the fmd related failure is to add to the skip-list due to the
historial reasons from DN(Layerscape) drivers - to avoid break the legacy users

Signed-off-by: Jason Liu <jason.hui.liu@nxp.com>
(cherry picked from commit 569d6d3cc2a664de66ee980bd611687f4d785b4e)
  • Loading branch information
Jason Liu committed Nov 17, 2020
1 parent 04b2fa2 commit 5bb09de
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/headers_install.sh
Expand Up @@ -94,6 +94,9 @@ include/uapi/linux/eventpoll.h:CONFIG_PM_SLEEP
include/uapi/linux/hw_breakpoint.h:CONFIG_HAVE_MIXED_BREAKPOINTS_REGS
include/uapi/linux/pktcdvd.h:CONFIG_CDROM_PKTCDVD_WCACHE
include/uapi/linux/raw.h:CONFIG_MAX_RAW_DEVS
include/uapi/linux/fmd/Peripherals/fm_port_ioctls.h:CONFIG_COMPAT
include/uapi/linux/fmd/Peripherals/fm_pcd_ioctls.h:CONFIG_COMPAT
include/uapi/linux/fmd/Peripherals/fm_ioctls.h:CONFIG_COMPAT
"

for c in $configs
Expand Down
3 changes: 3 additions & 0 deletions usr/include/Makefile
Expand Up @@ -31,6 +31,9 @@ header-test-$(CONFIG_CPU_LITTLE_ENDIAN) += linux/byteorder/little_endian.h
header-test- += linux/coda.h
header-test- += linux/elfcore.h
header-test- += linux/errqueue.h
header-test- += linux/fmd/%
header-test- += linux/fmd/integrations/%
header-test- += linux/fmd/Peripherals/%
header-test- += linux/fsmap.h
header-test- += linux/hdlc/ioctl.h
header-test- += linux/ivtv.h
Expand Down

0 comments on commit 5bb09de

Please sign in to comment.