[PATCH] libata: fix ata_xfer_tbl termination
authorTejun Heo <htejun@gmail.com>
Fri, 31 Mar 2006 13:48:52 +0000 (22:48 +0900)
committerJeff Garzik <jeff@garzik.org>
Fri, 31 Mar 2006 15:14:42 +0000 (10:14 -0500)
commitbe9a50c8524b53003e5fa32f072945772ffd13a5
treea82555012a718f030f6be95fbec5336ff9b76cca
parent8e0e694a3a48212bfe29a9ad3cd592bf68dfec81
[PATCH] libata: fix ata_xfer_tbl termination

ata_xfer_tbl is terminated by entry with -1 as ->shift.  However,
->shift was unsigned int making the termination condition bogus.  This
patch converts ->shift and ->bits to int.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/scsi/libata-core.c