]> www.infradead.org Git - users/dwmw2/linux.git/commit
RDMA/srpt: Duplicate port name members
authorBart Van Assche <bvanassche@acm.org>
Wed, 27 Jul 2022 19:34:13 +0000 (12:34 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Aug 2022 13:16:02 +0000 (15:16 +0200)
commit204a8486d77510144a7743c4f09ac8c2c66b809e
tree2abd6fd0e375e00959f94042f9dd6f393290445c
parent5ba56d9bd0d08a03cc6168298fcd04098202a87f
RDMA/srpt: Duplicate port name members

[ Upstream commit b03b1ae2a3125d4475452e4f19f5d3a6e910ff6e ]

Prepare for decoupling the lifetimes of struct srpt_port and struct
srpt_port_id by duplicating the port name into struct srpt_port.

Link: https://lore.kernel.org/r/20220727193415.1583860-2-bvanassche@acm.org
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/infiniband/ulp/srpt/ib_srpt.c
drivers/infiniband/ulp/srpt/ib_srpt.h