Linux ATA/IDE development
 help / color / mirror / Atom feed
* [PATCH] libata: enable LBA flag in taskfile for ata_scsi_pass_thru()
@ 2015-10-27  7:41 vinayak.kale
  2015-10-27  7:49 ` Tejun Heo
  0 siblings, 1 reply; 3+ messages in thread
From: vinayak.kale @ 2015-10-27  7:41 UTC (permalink / raw)
  To: tj, linux-ide, linux-kernel; +Cc: sumit.g.gupta, Vinayak Kale

From: Vinayak Kale <vinayak.kale@seagate.com>

Enable LBA in taskfile flags for ata_scsi_pass_thru()

Signed-off-by: Vinayak Kale <vinayak.kale@seagate.com>
---
 drivers/ata/libata-scsi.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c
index c2af592..ff75cb6 100644
--- a/drivers/ata/libata-scsi.c
+++ b/drivers/ata/libata-scsi.c
@@ -2949,6 +2949,9 @@ static unsigned int ata_scsi_pass_thru(struct ata_queued_cmd *qc)
 	if ((tf->protocol = ata_scsi_map_proto(cdb[1])) == ATA_PROT_UNKNOWN)
 		goto invalid_fld;
 
+	/* enable LBA */
+	tf->flags |= ATA_TFLAG_LBA;
+
 	/*
 	 * 12 and 16 byte CDBs use different offsets to
 	 * provide the various register values.
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] libata: enable LBA flag in taskfile for ata_scsi_pass_thru()
  2015-10-27  7:41 [PATCH] libata: enable LBA flag in taskfile for ata_scsi_pass_thru() vinayak.kale
@ 2015-10-27  7:49 ` Tejun Heo
  2015-10-27  8:04   ` Vinayak Kale
  0 siblings, 1 reply; 3+ messages in thread
From: Tejun Heo @ 2015-10-27  7:49 UTC (permalink / raw)
  To: vinayak.kale; +Cc: linux-ide, linux-kernel, sumit.g.gupta, Vinayak Kale

On Tue, Oct 27, 2015 at 01:11:46PM +0530, vinayak.kale@gmail.com wrote:
> From: Vinayak Kale <vinayak.kale@seagate.com>
> 
> Enable LBA in taskfile flags for ata_scsi_pass_thru()
> 
> Signed-off-by: Vinayak Kale <vinayak.kale@seagate.com>

Applied to libata/for-4.4.

Thanks.

-- 
tejun

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] libata: enable LBA flag in taskfile for ata_scsi_pass_thru()
  2015-10-27  7:49 ` Tejun Heo
@ 2015-10-27  8:04   ` Vinayak Kale
  0 siblings, 0 replies; 3+ messages in thread
From: Vinayak Kale @ 2015-10-27  8:04 UTC (permalink / raw)
  To: Tejun Heo; +Cc: Vinayak Kale, linux-ide, linux-kernel, Sumit Gupta

On Tue, Oct 27, 2015 at 1:19 PM, Tejun Heo <tj@kernel.org> wrote:
> On Tue, Oct 27, 2015 at 01:11:46PM +0530, vinayak.kale@gmail.com wrote:
>> From: Vinayak Kale <vinayak.kale@seagate.com>
>>
>> Enable LBA in taskfile flags for ata_scsi_pass_thru()
>>
>> Signed-off-by: Vinayak Kale <vinayak.kale@seagate.com>
>
> Applied to libata/for-4.4.

Thanks Tejun!!

>
> Thanks.
>
> --
> tejun

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-10-27  8:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-27  7:41 [PATCH] libata: enable LBA flag in taskfile for ata_scsi_pass_thru() vinayak.kale
2015-10-27  7:49 ` Tejun Heo
2015-10-27  8:04   ` Vinayak Kale

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox