aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Shelekhin <[email protected]>2021-05-13 22:28:03 +0300
committerMartin K. Petersen <[email protected]>2021-05-15 14:34:26 -0400
commit64ae33ef7486d01acb1f1d1ea601923973a3a462 (patch)
tree10993fa4cf5b59d1e9f2c64def5c56f47228cb10
parent2469f1e0412cb053e37b7499ce5e48b6be4d7653 (diff)
scsi: target: core: Bump INQUIRY VERSION to SPC-4
Bump the SCSI primary command set standard to SPC-4. The upcoming version descriptors will report newer SCSI standards (like SBC-3) that are not defined in SPC-3. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Roman Bolshakov <[email protected]> Signed-off-by: Konstantin Shelekhin <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
-rw-r--r--drivers/target/target_core_spc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/target/target_core_spc.c b/drivers/target/target_core_spc.c
index fe5d5ce4099c..0f30b71f0acc 100644
--- a/drivers/target/target_core_spc.c
+++ b/drivers/target/target_core_spc.c
@@ -58,7 +58,7 @@ spc_emulate_inquiry_std(struct se_cmd *cmd, unsigned char *buf)
if (dev->transport->get_device_type(dev) == TYPE_TAPE)
buf[1] = 0x80;
- buf[2] = 0x05; /* SPC-3 */
+ buf[2] = 0x06; /* SPC-4 */
/*
* NORMACA and HISUP = 0, RESPONSE DATA FORMAT = 2