aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dma-debug.c
diff options
context:
space:
mode:
authorRoland Dreier <[email protected]>2012-07-16 22:34:23 +0000
committerNicholas Bellinger <[email protected]>2012-07-17 00:35:36 +0000
commit1a5fa4576ec8a462313c7516b31d7453481ddbe8 (patch)
tree5a88ad2720656e7286bde6d4d301382877b67af1 /lib/dma-debug.c
parenttarget: Add range checking to UNMAP emulation (diff)
downloadkernel-1a5fa4576ec8a462313c7516b31d7453481ddbe8.tar.gz
kernel-1a5fa4576ec8a462313c7516b31d7453481ddbe8.zip
target: Fix reading of data length fields for UNMAP commands
The UNMAP DATA LENGTH and UNMAP BLOCK DESCRIPTOR DATA LENGTH fields are in the unmap descriptor (the payload transferred to our data out buffer), not in the CDB itself. Read them from the correct place in target_emulated_unmap. 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