]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: mctp-serial: Add kunit test for next_chunk_len()
authorMatt Johnston <matt@codeconstruct.com.au>
Thu, 29 Aug 2024 07:43:45 +0000 (15:43 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Sep 2024 17:14:01 +0000 (18:14 +0100)
commit4fa9c5181cfe083d0beefb5157a643560e7bd152
tree2abe06cea633e7e57a83d753de8774760fa9b8b5
parentfe1910f9337bd46a9343967b547ccab26b4b2c6e
net: mctp-serial: Add kunit test for next_chunk_len()

Test various edge cases of inputs that contain characters
that need escaping.

This adds a new kunit suite for mctp-serial.

Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mctp/Kconfig
drivers/net/mctp/mctp-serial.c