aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2017-08-17 10:09:54 +0300
committerMartin K. Petersen <[email protected]>2017-08-22 22:23:42 -0400
commitbd46fc406b30d1db1aff8dabaff8d18bb423fdcf (patch)
tree7279fb6cd3b1b6641550ad20e7f24152b50a9a7e /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parent723cd772fde2344a9810eeaf5106787d535ec4a4 (diff)
scsi: sg: off by one in sg_ioctl()
If "val" is SG_MAX_QUEUE then we are one element beyond the end of the "rinfo" array so the > should be >=. Fixes: 109bade9c625 ("scsi: sg: use standard lists for sg_requests") Signed-off-by: Dan Carpenter <[email protected]> Acked-by: Douglas Gilbert <[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