Skip to contentSkip to conversation

: [ambassador] fix <irq> type and printk warning (from Randy Dunlap <[email protected]>)

PATCH Applied chas williams (contractor) 2 participants 2 messages Oct 31, 2004 – Nov 2, 2004 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 : [ambassador] fix <irq> type and printk warning (from Randy Dunlap <[email protected]>)

please apply to 2.6

thanks!

# This is a BitKeeper generated diff -Nru style patch. #
# ChangeSet
# 2004/10/31 10:49:16-05:00 [email protected]
# [ATM]: [ambassador] fix <irq> type and printk warning (from Randy Dunlap <[email protected]>)
#

# drivers/atm/ambassador.c
#   2004/10/31 10:49:01-05:00 [email protected] +2 -2
#   [ATM]: [ambassador] fix <irq> type and printk warning (from Randy Dunlap <[email protected]>)
# 
diff -Nru a/drivers/atm/ambassador.c b/drivers/atm/ambassador.c
--- a/drivers/atm/ambassador.c	2004-10-31 10:50:03 -05:00
+++ b/drivers/atm/ambassador.c	2004-10-31 10:50:03 -05:00
@@ -2261,7 +2261,7 @@
 	int err;

// read resources from PCI configuration space
- u8 irq = pci_dev->irq;
+ unsigned int irq = pci_dev->irq;

if (pci_dev->device == PCI_DEVICE_ID_MADGE_AMBASSADOR_BAD) {
PRINTK (KERN_ERR, "skipped broken (PLX rev 2) card");
@@ -2270,7 +2270,7 @@
}

PRINTD (DBG_INFO, "found Madge ATM adapter (amb) at"
- " IO %x, IRQ %u, MEM %p", pci_resource_start(pci_dev, 1),
+ " IO %lx, IRQ %u, MEM %p", pci_resource_start(pci_dev, 1),
irq, bus_to_virt(pci_resource_start(pci_dev, 0)));

// check IO region

maintainer Applied
#2 lore raw
Quoted 5 lines · On Sun, 31 Oct 2004 10:52:06 -0500 "chas williams (contractor)"…

# This is a BitKeeper generated diff -Nru style patch. #
# ChangeSet
# 2004/10/31 10:49:16-05:00 [email protected]
# [ATM]: [ambassador] fix <irq> type and printk warning (from Randy Dunlap <[email protected]>)

Applied, thanks Chas and Randy.