]> git.baikalelectronics.ru Git - kernel.git/commit
libata-scsi: do not respond with "invalid field" for FORMAT UNIT
authorTom Yan <tom.ty89@gmail.com>
Wed, 6 Jul 2016 17:13:08 +0000 (01:13 +0800)
committerTejun Heo <tj@kernel.org>
Wed, 6 Jul 2016 17:32:03 +0000 (13:32 -0400)
commit4e04bfcef1bba8794753ccdd5c9f14459da79e57
tree5ddbc49c35267a1197e6ee1e1d68889ed22c9980
parente440b5d780dc0e585869ec9ce823db0861fdc1ba
libata-scsi: do not respond with "invalid field" for FORMAT UNIT

It does not make sense and is confusing to respond with "Invalid
field in CDB" while we have no support at all implemented for
FORMAT UNIT. It is decent to let it go to the default, which
will respond with "Invalid command operation code" instead.

Signed-off-by: Tom Yan <tom.ty89@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/libata-scsi.c