aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorLongPing Wei <[email protected]>2024-11-07 02:04:41 +0000
committerJens Axboe <[email protected]>2024-12-10 20:24:24 +0000
commit790eb09e59709a1ffc1c64fe4aae2789120851b0 (patch)
tree3613a77cc8cbca47ecbe13e2990348a9243c51c3 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentblk-cgroup: Fix UAF in blkcg_unpin_online() (diff)
downloadkernel-790eb09e59709a1ffc1c64fe4aae2789120851b0.tar.gz
kernel-790eb09e59709a1ffc1c64fe4aae2789120851b0.zip
block: get wp_offset by bdev_offset_from_zone_start
Call bdev_offset_from_zone_start() instead of open-coding it. Fixes: dd291d77cc90 ("block: Introduce zone write plugging") Signed-off-by: LongPing Wei <[email protected]> Reviewed-by: Damien Le Moal <[email protected]> Reviewed-by: Bart Van Assche <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions