diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2024-04-28 10:13:39 +0300 |
---|---|---|
committer | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2024-05-06 05:06:04 +0300 |
commit | 75527d8d9e5ec374b9b0d70c712fec78b4bb693f (patch) | |
tree | b1dbf190244b595df5a60792665c210b094dc1b4 /drivers/firewire/Makefile | |
parent | e41b2c1532d6d43945a59e7d844a258b5a82f307 (diff) | |
download | linux-75527d8d9e5ec374b9b0d70c712fec78b4bb693f.tar.xz |
firewire: core: add common inline functions to serialize/deserialize asynchronous packet header
In both core and 1394 OHCI driver, some hard-coded values and macros are
used to serialize/deserialize the header of asynchronous packets. It is
inconvenient to reuse them.
This commit adds some helper inline functions with their tests for the
purpose.
Link: https://lore.kernel.org/r/20240428071347.409202-2-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'drivers/firewire/Makefile')
-rw-r--r-- | drivers/firewire/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/firewire/Makefile b/drivers/firewire/Makefile index b24b2879ac34..bbde29a0fba6 100644 --- a/drivers/firewire/Makefile +++ b/drivers/firewire/Makefile @@ -17,4 +17,7 @@ obj-$(CONFIG_FIREWIRE_NOSY) += nosy.o obj-$(CONFIG_PROVIDE_OHCI1394_DMA_INIT) += init_ohci1394_dma.o firewire-uapi-test-objs += uapi-test.o +firewire-packet-serdes-test-objs += packet-serdes-test.o + obj-$(CONFIG_FIREWIRE_KUNIT_UAPI_TEST) += firewire-uapi-test.o +obj-$(CONFIG_FIREWIRE_KUNIT_PACKET_SERDES_TEST) += firewire-packet-serdes-test.o |