Re: [PATCH] libata: fixup oops in ata_eh_link_report()

2015-01-19 Thread Sergey Senozhatsky
On (01/19/15 15:53), Hannes Reinecke wrote: > >> 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. > >> > >> Signed-off-by: Hannes Reinecke > >> --- > >> drivers/ata/libata-eh.c | 5 +++-- > >> 1 file

Re: [PATCH] libata: fixup oops in ata_eh_link_report()

2015-01-19 Thread Hannes Reinecke
sky , Hannes Reinecke >> Subject: [PATCH] libata: fixup oops in ata_eh_link_report() >> X-Mailer: git-send-email 1.8.5.2 >> >> 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 >&g

Re: [PATCH] libata: fixup oops in ata_eh_link_report()

2015-01-19 Thread Sergey Senozhatsky
On (01/19/15 13:00), Hannes Reinecke wrote: > Date: Mon, 19 Jan 2015 13:00:59 +0100 > From: Hannes Reinecke > To: Tejun Heo > Cc: linux-...@vger.kernel.org, linux-kernel@vger.kernel.org, Sergey > Senozhatsky , Hannes Reinecke > Subject: [PATCH] libata: fixup oops in ata_eh

Re: [PATCH] libata: fixup oops in ata_eh_link_report()

2015-01-19 Thread Tejun Heo
On Mon, Jan 19, 2015 at 01:00:59PM +0100, Hannes Reinecke wrote: > 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. > > Signed-off-by: Hannes Reinecke Acked-by: Tejun Heo But, can you please refer to the

[PATCH] libata: fixup oops in ata_eh_link_report()

2015-01-19 Thread Hannes Reinecke
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. Signed-off-by: Hannes Reinecke --- drivers/ata/libata-eh.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/ata/libata-eh.c b/dr