Home
last modified time | relevance | path

Searched hist:cbba5b0ee4c6c2fc8b78a21d0900099d480cf2e9 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/ata/
H A Dlibata-eh.cdiff a13b0c9d09157e331b31e25c1ea19216b837a619 Mon Jan 19 09:55:38 CST 2015 Hannes Reinecke <hare@suse.de> 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>
diff cbba5b0ee4c6c2fc8b78a21d0900099d480cf2e9 Thu Jan 08 00:43:45 CST 2015 Hannes Reinecke <hare@suse.de> libata: use __scsi_format_command()

libata already uses an internal buffer, so we should be using
__scsi_format_command() here.

Tested-by: Robert Elliott <elliott@hp.com>
Reviewed-by: Robert Elliott <elliott@hp.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>