aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
diff options
context:
space:
mode:
authorDarrick J. Wong <[email protected]>2019-08-26 17:06:05 -0700
committerDarrick J. Wong <[email protected]>2019-08-28 08:31:02 -0700
commitffb5696f7555e44c04b7c1212fcd83ddedc43498 (patch)
treefd9cfb41403bde84745a014fef273247f33665c6 /drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
parent3e08f42ae7828bac2e7445a950f5de2b08203352 (diff)
xfs: reinitialize rm_flags when unpacking an offset into an rmap irec
In xfs_rmap_irec_offset_unpack, we should always clear the contents of rm_flags before we begin unpacking the encoded (ondisk) offset into the incore rm_offset and incore rm_flags fields. Remove the open-coded field zeroing as this encourages api misuse. Signed-off-by: Darrick J. Wong <[email protected]> Reviewed-by: Dave Chinner <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c')
0 files changed, 0 insertions, 0 deletions