diff options
author | Hannes Reinecke <hare@suse.de> | 2015-01-19 16:55:38 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2015-01-20 19:41:41 +0100 |
commit | a13b0c9d09157e331b31e25c1ea19216b837a619 (patch) | |
tree | 3fa30eff3ed1e4e502d2b81b83438c456cf38a8e /include/scsi | |
parent | a63bb9ba84c4b32569a6ac6040c2a919b4ff4a14 (diff) | |
download | op-kernel-dev-a13b0c9d09157e331b31e25c1ea19216b837a619.zip op-kernel-dev-a13b0c9d09157e331b31e25c1ea19216b837a619.tar.gz |
libata: fixup oops in ata_eh_link_report()
We should only try to evaluate the cdb if this is an ATAPI
device, for any other device the 'cdb' field and the cdb_len
has no meaning.
Fixes: cbba5b0ee4c6c2fc8b78a21d0900099d480cf2e9
Reported-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Tejun Heo <tj@kernel.org>
Tested-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions