提交 83c063dd 编写于 作者: Y Yoichi Yuasa 提交者: Jeff Garzik

use ATA_TAG_INTERNAL in ata_tag_internal()

It should be ATA_TAG_INTERNAL.
Signed-off-by: NYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: NJeff Garzik <jeff@garzik.org>
上级 c30484d7
...@@ -1121,7 +1121,7 @@ static inline unsigned int ata_tag_valid(unsigned int tag) ...@@ -1121,7 +1121,7 @@ static inline unsigned int ata_tag_valid(unsigned int tag)
static inline unsigned int ata_tag_internal(unsigned int tag) static inline unsigned int ata_tag_internal(unsigned int tag)
{ {
return tag == ATA_MAX_QUEUE - 1; return tag == ATA_TAG_INTERNAL;
} }
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册