diff options
| author | Christoph Hellwig <[email protected]> | 2023-12-20 06:35:01 +0000 |
|---|---|---|
| committer | Chandan Babu R <[email protected]> | 2023-12-29 08:07:05 +0000 |
| commit | 414147225400a0c4562ebfb0fdd40f065099ede4 (patch) | |
| tree | b826699fcb76159b0313047adeeadb9c790bcd50 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | xfs: use xfs_attr_sf_findname in xfs_attr_shortform_getvalue (diff) | |
| download | kernel-414147225400a0c4562ebfb0fdd40f065099ede4.tar.gz kernel-414147225400a0c4562ebfb0fdd40f065099ede4.zip | |
xfs: remove struct xfs_attr_shortform
sparse complains about struct xfs_attr_shortform because it embeds a
structure with a variable sized array in a variable sized array.
Given that xfs_attr_shortform is not a very useful structure, and the
dir2 equivalent has been removed a long time ago, remove it as well.
Provide a xfs_attr_sf_firstentry helper that returns the first
xfs_attr_sf_entry behind a xfs_attr_sf_hdr to replace the structure
dereference.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: "Darrick J. Wong" <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Signed-off-by: Chandan Babu R <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
