Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

libata-scsi: correct SPC version descriptor

The comment suggests we should be having an SPC-3 version descriptor
but the 0260h is the code for "SPC-2 (no version claimed)". Correct
it to 0300h so that it has the "SPC-3 (no version claimed)" descriptor.

Note that we are claiming SPC-3 version compatibility in the VERSION
field of the standard INQUIRY data. Therefore, I assume the typo was
on the code but not on the comment.

Signed-off-by: Tom Yan <tom.ty89@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>

authored by

Tom Yan and committed by
Tejun Heo
29a37ea4 415ffdde

+2 -2
+2 -2
drivers/ata/libata-scsi.c
··· 2075 2075 0x03, 2076 2076 0x20, /* SBC-2 (no version claimed) */ 2077 2077 2078 - 0x02, 2079 - 0x60 /* SPC-3 (no version claimed) */ 2078 + 0x03, 2079 + 0x00 /* SPC-3 (no version claimed) */ 2080 2080 }; 2081 2081 const u8 versions_zbc[] = { 2082 2082 0x00,