aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/acpi/toshiba_acpi.c2
-rw-r--r--drivers/ata/ata_piix.c2
-rw-r--r--drivers/ata/sata_via.c2
-rw-r--r--drivers/atm/firestream.c2
-rw-r--r--drivers/block/cciss.c2
-rw-r--r--drivers/hid/hid-input.c2
-rw-r--r--drivers/isdn/hisax/hfc_2bds0.c3
-rw-r--r--drivers/isdn/hisax/nj_s.c2
-rw-r--r--drivers/net/tulip/tulip_core.c5
-rw-r--r--drivers/pci/pci.c2
-rw-r--r--sound/usb/usbaudio.c2
11 files changed, 14 insertions, 12 deletions
diff --git a/drivers/acpi/toshiba_acpi.c b/drivers/acpi/toshiba_acpi.c
index 13369b45563f..a736ef7bdee4 100644
--- a/drivers/acpi/toshiba_acpi.c
+++ b/drivers/acpi/toshiba_acpi.c
@@ -362,7 +362,7 @@ static unsigned long write_video(const char *buffer, unsigned long count)
362 int crt_out = -1; 362 int crt_out = -1;
363 int tv_out = -1; 363 int tv_out = -1;
364 u32 hci_result; 364 u32 hci_result;
365 int video_out; 365 u32 video_out;
366 366
367 /* scan expression. Multiple expressions may be delimited with ; 367 /* scan expression. Multiple expressions may be delimited with ;
368 * 368 *
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");
diff --git a/drivers/atm/firestream.c b/drivers/atm/firestream.c
index 737cea49f872..94ebc9dc40fd 100644
--- a/drivers/atm/firestream.c
+++ b/drivers/atm/firestream.c
@@ -1295,7 +1295,7 @@ static const struct atmdev_ops ops = {
1295 1295
1296static void __devinit undocumented_pci_fix (struct pci_dev *pdev) 1296static void __devinit undocumented_pci_fix (struct pci_dev *pdev)
1297{ 1297{
1298 int tint; 1298 u32 tint;
1299 1299
1300 /* The Windows driver says: */ 1300 /* The Windows driver says: */
1301 /* Switch off FireStream Retry Limit Threshold 1301 /* Switch off FireStream Retry Limit Threshold
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index 28d145756f6c..55c3237fb1bc 100644
--- a/drivers/block/cciss.c
+++ b/drivers/block/cciss.c
@@ -3101,7 +3101,7 @@ static void cciss_getgeometry(int cntl_num)
3101 int i; 3101 int i;
3102 int listlength = 0; 3102 int listlength = 0;
3103 __u32 lunid = 0; 3103 __u32 lunid = 0;
3104 int block_size; 3104 unsigned block_size;
3105 sector_t total_size; 3105 sector_t total_size;
3106 3106
3107 ld_buff = kzalloc(sizeof(ReportLunData_struct), GFP_KERNEL); 3107 ld_buff = kzalloc(sizeof(ReportLunData_struct), GFP_KERNEL);
diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c
index 0c3e12c1794c..dd332f28e08c 100644
--- a/drivers/hid/hid-input.c
+++ b/drivers/hid/hid-input.c
@@ -950,7 +950,7 @@ ignore:
950void hidinput_hid_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value) 950void hidinput_hid_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value)
951{ 951{
952 struct input_dev *input; 952 struct input_dev *input;
953 int *quirks = &hid->quirks; 953 unsigned *quirks = &hid->quirks;
954 954
955 if (!field->hidinput) 955 if (!field->hidinput)
956 return; 956 return;
diff --git a/drivers/isdn/hisax/hfc_2bds0.c b/drivers/isdn/hisax/hfc_2bds0.c
index 8d9864453a23..5c46a7130e06 100644
--- a/drivers/isdn/hisax/hfc_2bds0.c
+++ b/drivers/isdn/hisax/hfc_2bds0.c
@@ -1019,7 +1019,8 @@ hfc_dbusy_timer(struct IsdnCardState *cs)
1019static unsigned int 1019static unsigned int
1020*init_send_hfcd(int cnt) 1020*init_send_hfcd(int cnt)
1021{ 1021{
1022 int i, *send; 1022 int i;
1023 unsigned *send;
1023 1024
1024 if (!(send = kmalloc(cnt * sizeof(unsigned int), GFP_ATOMIC))) { 1025 if (!(send = kmalloc(cnt * sizeof(unsigned int), GFP_ATOMIC))) {
1025 printk(KERN_WARNING 1026 printk(KERN_WARNING
diff --git a/drivers/isdn/hisax/nj_s.c b/drivers/isdn/hisax/nj_s.c
index fa2db87667c8..a895dfed40e5 100644
--- a/drivers/isdn/hisax/nj_s.c
+++ b/drivers/isdn/hisax/nj_s.c
@@ -151,7 +151,7 @@ NETjet_S_card_msg(struct IsdnCardState *cs, int mt, void *arg)
151static int __devinit njs_pci_probe(struct pci_dev *dev_netjet, 151static int __devinit njs_pci_probe(struct pci_dev *dev_netjet,
152 struct IsdnCardState *cs) 152 struct IsdnCardState *cs)
153{ 153{
154 int cfg; 154 u32 cfg;
155 155
156 if (pci_enable_device(dev_netjet)) 156 if (pci_enable_device(dev_netjet))
157 return(0); 157 return(0);
diff --git a/drivers/net/tulip/tulip_core.c b/drivers/net/tulip/tulip_core.c
index ee08292bcf85..e5e2c9c4ebfe 100644
--- a/drivers/net/tulip/tulip_core.c
+++ b/drivers/net/tulip/tulip_core.c
@@ -292,6 +292,7 @@ static void tulip_up(struct net_device *dev)
292 struct tulip_private *tp = netdev_priv(dev); 292 struct tulip_private *tp = netdev_priv(dev);
293 void __iomem *ioaddr = tp->base_addr; 293 void __iomem *ioaddr = tp->base_addr;
294 int next_tick = 3*HZ; 294 int next_tick = 3*HZ;
295 u32 reg;
295 int i; 296 int i;
296 297
297#ifdef CONFIG_TULIP_NAPI 298#ifdef CONFIG_TULIP_NAPI
@@ -307,14 +308,14 @@ static void tulip_up(struct net_device *dev)
307 308
308 /* Reset the chip, holding bit 0 set at least 50 PCI cycles. */ 309 /* Reset the chip, holding bit 0 set at least 50 PCI cycles. */
309 iowrite32(0x00000001, ioaddr + CSR0); 310 iowrite32(0x00000001, ioaddr + CSR0);
310 pci_read_config_dword(tp->pdev, PCI_COMMAND, &i); /* flush write */ 311 pci_read_config_dword(tp->pdev, PCI_COMMAND, &reg); /* flush write */
311 udelay(100); 312 udelay(100);
312 313
313 /* Deassert reset. 314 /* Deassert reset.
314 Wait the specified 50 PCI cycles after a reset by initializing 315 Wait the specified 50 PCI cycles after a reset by initializing
315 Tx and Rx queues and the address filter list. */ 316 Tx and Rx queues and the address filter list. */
316 iowrite32(tp->csr0, ioaddr + CSR0); 317 iowrite32(tp->csr0, ioaddr + CSR0);
317 pci_read_config_dword(tp->pdev, PCI_COMMAND, &i); /* flush write */ 318 pci_read_config_dword(tp->pdev, PCI_COMMAND, &reg); /* flush write */
318 udelay(100); 319 udelay(100);
319 320
320 if (tulip_debug > 1) 321 if (tulip_debug > 1)
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 728b3c863d87..71d561fda0a2 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -658,7 +658,7 @@ int
658pci_restore_state(struct pci_dev *dev) 658pci_restore_state(struct pci_dev *dev)
659{ 659{
660 int i; 660 int i;
661 int val; 661 u32 val;
662 662
663 /* PCI Express register must be restored first */ 663 /* PCI Express register must be restored first */
664 pci_restore_pcie_state(dev); 664 pci_restore_pcie_state(dev);
diff --git a/sound/usb/usbaudio.c b/sound/usb/usbaudio.c
index 7bd5852fcc0d..ac5666f4c6d5 100644
--- a/sound/usb/usbaudio.c
+++ b/sound/usb/usbaudio.c
@@ -2876,7 +2876,7 @@ static int create_fixed_stream_quirk(struct snd_usb_audio *chip,
2876 struct audioformat *fp; 2876 struct audioformat *fp;
2877 struct usb_host_interface *alts; 2877 struct usb_host_interface *alts;
2878 int stream, err; 2878 int stream, err;
2879 int *rate_table = NULL; 2879 unsigned *rate_table = NULL;
2880 2880
2881 fp = kmemdup(quirk->data, sizeof(*fp), GFP_KERNEL); 2881 fp = kmemdup(quirk->data, sizeof(*fp), GFP_KERNEL);
2882 if (! fp) { 2882 if (! fp) {