]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: mctp: test: Add an addressed device constructor
authorJeremy Kerr <jk@codeconstruct.com.au>
Wed, 2 Jul 2025 06:20:05 +0000 (14:20 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 8 Jul 2025 10:39:23 +0000 (12:39 +0200)
commit96b341a8e78272b70905a5ac8b01e0cb97ae07de
treecf9285fc3e803c06a8e43ceba9e1a22b3de96683
parent3007f90ec0385304ab5794e9585427b73f40e32f
net: mctp: test: Add an addressed device constructor

Upcoming tests will check semantics of hardware addressing, which
require a dev with ->addr_len != 0. Add a constructor to create a
MCTP interface using a physically-addressed bus type.

Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
Link: https://patch.msgid.link/20250702-dev-forwarding-v5-5-1468191da8a4@codeconstruct.com.au
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/mctp/test/utils.c
net/mctp/test/utils.h