diff options
| author | Nathan Chancellor <[email protected]> | 2025-07-01 14:33:31 +0000 |
|---|---|---|
| committer | Ira Weiny <[email protected]> | 2025-07-01 16:15:13 +0000 |
| commit | 9f97e61bde6a91a429f48da1a461488a15b01813 (patch) | |
| tree | 2cc9139096fe70eaae39795cef6bb6116771da45 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
| parent | libnvdimm: Don't use "proxy" headers (diff) | |
| download | kernel-9f97e61bde6a91a429f48da1a461488a15b01813.tar.gz kernel-9f97e61bde6a91a429f48da1a461488a15b01813.zip | |
cxl: Include range.h in cxl.h
After commit aefeb286b960 ("libnvdimm: Don't use "proxy" headers"),
range.h may not be implicitly included, resulting in a build error:
In file included from drivers/cxl/core/features.c:8:
drivers/cxl/cxl.h:365:22: error: field 'hpa_range' has incomplete type
365 | struct range hpa_range;
| ^~~~~~~~~
drivers/cxl/cxl.h:562:22: error: field 'hpa_range' has incomplete type
562 | struct range hpa_range;
| ^~~~~~~~~
drivers/cxl/cxl.h:570:22: error: field 'hpa_range' has incomplete type
570 | struct range hpa_range;
| ^~~~~~~~~
drivers/cxl/cxl.h:803:22: error: array type has incomplete element type 'struct range'
803 | struct range dvsec_range[2];
| ^~~~~~~~~~~
Include range.h in cxl.h explicitly to clear up the errors.
Fixes: aefeb286b960 ("libnvdimm: Don't use "proxy" headers")
Signed-off-by: Nathan Chancellor <[email protected]>
Reviewed-by: Dave Jiang <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Ira Weiny <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions
