target: improve unsupported opcode message
authorJoern Engel <[email protected]>
Wed, 22 Jul 2015 22:01:36 +0000 (15:01 -0700)
committerNicholas Bellinger <[email protected]>
Fri, 31 Jul 2015 06:49:36 +0000 (23:49 -0700)
commit568e1f6524b06ff113cebf5711832ca95d37259f
treef95a2852ca47653fa257202a568c7b8cdad6f12b
parentc72c5250224d475614a00c1d7e54a67f77cd3410
target: improve unsupported opcode message

Make the warning about unsupported SCSI opcode more useful:

 - Add in the initiator name so we know who's sending it.
 - Print the warning even for opcodes that spc_parse_cdb() knows about
   but that we don't handle.

Signed-off-by: Joern Engel <[email protected]>
Signed-off-by: Spencer Baugh <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
drivers/target/target_core_spc.c
drivers/target/target_core_transport.c