linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] use ATA_TAG_INTERNAL in ata_tag_internal()
@ 2008-02-28 12:43 Yoichi Yuasa
  2008-03-06  8:36 ` Tejun Heo
  2008-04-04  7:56 ` Jeff Garzik
  0 siblings, 2 replies; 3+ messages in thread
From: Yoichi Yuasa @ 2008-02-28 12:43 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: yoichi_yuasa, linux-ide

It should be ATA_TAG_INTERNAL.

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>

diff -pruN -X /home/yuasa/Memo/dontdiff linux-orig/include/linux/libata.h linux/include/linux/libata.h
--- linux-orig/include/linux/libata.h	2008-02-28 13:29:13.659279943 +0900
+++ linux/include/linux/libata.h	2008-02-28 13:29:48.221249519 +0900
@@ -1123,7 +1123,7 @@ static inline unsigned int ata_tag_valid
 
 static inline unsigned int ata_tag_internal(unsigned int tag)
 {
-	return tag == ATA_MAX_QUEUE - 1;
+	return tag == ATA_TAG_INTERNAL;
 }
 
 /*

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

end of thread, other threads:[~2008-04-04  7:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-28 12:43 [PATCH] use ATA_TAG_INTERNAL in ata_tag_internal() Yoichi Yuasa
2008-03-06  8:36 ` Tejun Heo
2008-04-04  7:56 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).