]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: mctp: tests: use actual address when creating dev with addr
authorJeremy Kerr <jk@codeconstruct.com.au>
Fri, 3 Apr 2026 02:21:04 +0000 (10:21 +0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 7 Apr 2026 01:04:02 +0000 (18:04 -0700)
commit70e32aadb5cab9ef706962e1293582ec03f89625
tree4b97831c11efdb9f80857ec7657ce03812140222
parent3b45559f6c0af0eaf8a91dfc1037a423337cf21d
net: mctp: tests: use actual address when creating dev with addr

Sashiko reports:

> This isn't a bug in the core networking code, but the addr parameter
> appears to be ignored here.

In mctp_test_create_dev_with_addr(), we are ignoring the addr argument
and just using `8`. Use the passed address instead.

All invocations use 8 anyway, so no effective change at present.

Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
Reviewed-by: Simon Horman <horms@verge.net.au>
Link: https://patch.msgid.link/20260403-dev-mctp-fix-test-addr-v1-1-b7fa789cdd9b@codeconstruct.com.au
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mctp/test/utils.c