summaryrefslogtreecommitdiff
path: root/include/scsi
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2017-06-28 08:58:56 +0300
committerNicholas Bellinger <nab@linux-iscsi.org>2017-07-07 09:11:49 +0300
commite5dc9a7055c98bcd7b03f9735d5f2ec2b7f0d897 (patch)
tree51af1054e51b38ec11902fd69d6630da096ffdd6 /include/scsi
parent402242c904432207515e3ccb4126ff0dcfba89ca (diff)
downloadlinux-e5dc9a7055c98bcd7b03f9735d5f2ec2b7f0d897.tar.xz
target: Use macro for WRITE_VERIFY_32 operation codes
Add WRITE_VERIFY_32 definition to scsi prototypes and use this macro definition isntead of the hard coded value. (Drop WRITE_VERIFY_16 that's already part of another patch - nab) Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/scsi')
-rw-r--r--include/scsi/scsi_proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scsi/scsi_proto.h b/include/scsi/scsi_proto.h
index ce78ec8e367d..5e3fe037938e 100644
--- a/include/scsi/scsi_proto.h
+++ b/include/scsi/scsi_proto.h
@@ -161,6 +161,7 @@
#define READ_32 0x09
#define VERIFY_32 0x0a
#define WRITE_32 0x0b
+#define WRITE_VERIFY_32 0x0c
#define WRITE_SAME_32 0x0d
/* Values for T10/04-262r7 */