mirror of
https://github.com/torvalds/linux.git
synced 2024-11-29 07:31:29 +00:00
dc7c51638f
In future commits, some new structure will be added to express new type of event. They are exposed to user space as the part of UAPI. It is likely to get trouble in ioctl compatibility layer for 32 bit binaries in 64 bit host machine since the layout of structure could differ depending on System V ABI for these architectures. Actually the subsystem already got such trouble at v2.6.27. It is preferable to decide the layout of structure carefully so that the layer is free from such trouble. This commit utilizes KUnit framework to check the layout of structure for the purpose. A test is added for the existent issue. Cc: kunit-dev@googlegroups.com Link: https://lore.kernel.org/r/20230529113406.986289-2-o-takashi@sakamocchi.jp Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
21 lines
683 B
Makefile
21 lines
683 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for the Linux IEEE 1394 implementation
|
|
#
|
|
|
|
firewire-core-y += core-card.o core-cdev.o core-device.o \
|
|
core-iso.o core-topology.o core-transaction.o
|
|
firewire-ohci-y += ohci.o
|
|
firewire-sbp2-y += sbp2.o
|
|
firewire-net-y += net.o
|
|
|
|
obj-$(CONFIG_FIREWIRE) += firewire-core.o
|
|
obj-$(CONFIG_FIREWIRE_OHCI) += firewire-ohci.o
|
|
obj-$(CONFIG_FIREWIRE_SBP2) += firewire-sbp2.o
|
|
obj-$(CONFIG_FIREWIRE_NET) += firewire-net.o
|
|
obj-$(CONFIG_FIREWIRE_NOSY) += nosy.o
|
|
obj-$(CONFIG_PROVIDE_OHCI1394_DMA_INIT) += init_ohci1394_dma.o
|
|
|
|
firewire-uapi-test-objs += uapi-test.o
|
|
obj-$(CONFIG_FIREWIRE_KUNIT_UAPI_TEST) += firewire-uapi-test.o
|