aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-10-14 14:35:40 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-14 15:41:52 -0400
commitb4482a4b2e2ff5ed96d8d16d72e83e75064062c5 (patch)
tree675b5f0a80d720c63db138d5395d63cee6c74969 /drivers/ata
parent64a6f9500d8e8a8e1b1adc2120e56cc88df5727f (diff)
more trivial signedness fixes in drivers
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/ata_piix.c2
-rw-r--r--drivers/ata/sata_via.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c
index e783e678acf5..9ce4aa9c2f25 100644
--- a/drivers/ata/ata_piix.c
+++ b/drivers/ata/ata_piix.c
@@ -1122,7 +1122,7 @@ static void __devinit piix_init_sata_map(struct pci_dev *pdev,
1122 const struct piix_map_db *map_db) 1122 const struct piix_map_db *map_db)
1123{ 1123{
1124 struct piix_host_priv *hpriv = pinfo[0].private_data; 1124 struct piix_host_priv *hpriv = pinfo[0].private_data;
1125 const unsigned int *map; 1125 const int *map;
1126 int i, invalid_map = 0; 1126 int i, invalid_map = 0;
1127 u8 map_value; 1127 u8 map_value;
1128 1128
diff --git a/drivers/ata/sata_via.c b/drivers/ata/sata_via.c
index 1dc9b4f2b2dc..cc6ee0890f56 100644
--- a/drivers/ata/sata_via.c
+++ b/drivers/ata/sata_via.c
@@ -505,7 +505,7 @@ static int svia_init_one (struct pci_dev *pdev, const struct pci_device_id *ent)
505 int rc; 505 int rc;
506 struct ata_host *host; 506 struct ata_host *host;
507 int board_id = (int) ent->driver_data; 507 int board_id = (int) ent->driver_data;
508 const int *bar_sizes; 508 const unsigned *bar_sizes;
509 509
510 if (!printed_version++) 510 if (!printed_version++)
511 dev_printk(KERN_DEBUG, &pdev->dev, "version " DRV_VERSION "\n"); 511 dev_printk(KERN_DEBUG, &pdev->dev, "version " DRV_VERSION "\n");