scsi: scsi_debug: fix group_number mask
authorDouglas Gilbert <dgilbert@interlog.com>
Sat, 23 Dec 2017 17:48:11 +0000 (12:48 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 11 Jan 2018 04:25:05 +0000 (23:25 -0500)
commitb7e24581f3eec1d50bbdfe7bb1be6118d5bd72a3
treedcca221cbc01468444b9090b4c77ae99885c4929
parent9a051019549028f732770a75f7c4c5b3495908c9
scsi: scsi_debug: fix group_number mask

Various cdb masks incorrectly assumed the GROUP NUMBER field
was 5 bits long. It is actually 6 bits long. Correct.
Also fix mask failure (in same byte) to allow DLD0 in READ(16)
and WRITE(16).

Signed-off-by: Douglas Gilbert <dgilbert@interlog.com>
Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_debug.c