lkml.org 
[lkml]   [2016]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH resend 5/5] libata-scsi: fix MODE SELECT translation for Control mode page
On Fri, Jul 22, 2016 at 02:41:54AM +0800, tom.ty89@gmail.com wrote:
> @@ -3854,6 +3852,8 @@ static unsigned int ata_scsi_mode_select_xlat(struct ata_queued_cmd *qc)
> if (ata_mselect_control(qc, p, pg_len, &fp) < 0) {
> fp += hdr_len + bd_len;
> goto invalid_param;
> + } else {
> + goto skip; /* No ATA command to send */

Hmmm... I'm a bit confused. Why is mselect_control path different
from mselect_caching in terms of qc handling?

Thanks.

--
tejun

\
 
 \ /
  Last update: 2016-07-22 00:01    [W:0.087 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site