diff options
author | Dave Jiang <dave.jiang@intel.com> | 2024-03-09 00:59:24 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-04-17 12:23:30 +0300 |
commit | fb1b371212a357840c3891049ffe6a3482bc23b9 (patch) | |
tree | ae12edfc62b7276deb8f56675312ed5c8c460abd /net/6lowpan | |
parent | 9d8dc8c09f4002b55c4baaf7360b2cb6a4da6640 (diff) | |
download | linux-fb1b371212a357840c3891049ffe6a3482bc23b9.tar.xz |
cxl: Split out combine_coordinates() for common shared usage
[ Upstream commit 032f7b37adff6985e22516053698b77131c2ce96 ]
Refactor the common code of combining coordinates in order to reduce code.
Create a new function cxl_cooordinates_combine() it combine two 'struct
access_coordinate'.
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Tested-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20240308220055.2172956-6-dave.jiang@intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Stable-dep-of: 592780b8391f ("cxl: Fix retrieving of access_coordinates in PCIe path")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/6lowpan')
0 files changed, 0 insertions, 0 deletions