aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dma-debug.c
diff options
context:
space:
mode:
authorRoland Dreier <[email protected]>2012-07-16 22:34:21 +0000
committerNicholas Bellinger <[email protected]>2012-07-17 00:35:35 +0000
commite2397c704429025bc6b331a970f699e52f34283e (patch)
tree470157d2f9a66ca40b295b9aa16c4fdf2222f15c /lib/dma-debug.c
parenttarget: Make unnecessarily global se_dev_align_max_sectors() static (diff)
downloadkernel-e2397c704429025bc6b331a970f699e52f34283e.tar.gz
kernel-e2397c704429025bc6b331a970f699e52f34283e.zip
target: Add generation of LOGICAL BLOCK ADDRESS OUT OF RANGE
Many SCSI commands are defined to return a CHECK CONDITION / ILLEGAL REQUEST with ASC set to LOGICAL BLOCK ADDRESS OUT OF RANGE if the initiator sends a command that accesses a too-big LBA. Add an enum value and case entries so that target code can return this status. Signed-off-by: Roland Dreier <[email protected]> Cc: [email protected] Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions