aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2025-06-24 12:52:27 +0000
committerMartin K. Petersen <[email protected]>2025-06-25 01:20:57 +0000
commit844c6a160e69cc6d1da4b666f8672f6fc5f4f862 (patch)
tree2a62bfe060cda58e575a97d8823b3570cadc99bc /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentscsi: sd: Fix VPD page 0xb7 length check (diff)
downloadkernel-844c6a160e69cc6d1da4b666f8672f6fc5f4f862.tar.gz
kernel-844c6a160e69cc6d1da4b666f8672f6fc5f4f862.zip
scsi: RDMA/srp: Don't set a max_segment_size when virt_boundary_mask is set
virt_boundary_mask implies an unlimited max_segment_size. Setting both can lead to data corruption because __blk_rq_map_sg() can split requests so that the virt_boundary_mask is not respected if max_segment_size is not UINT_MAX. Signed-off-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hannes Reinecke <[email protected]> Reviewed-by: John Garry <[email protected]> Acked-by: Bart Van Assche <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions