aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/atm
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/atm')
-rw-r--r--drivers/atm/fore200e.c2
-rw-r--r--drivers/atm/lanai.c7
2 files changed, 3 insertions, 6 deletions
diff --git a/drivers/atm/fore200e.c b/drivers/atm/fore200e.c
index 962c309b40c0..44f778507770 100644
--- a/drivers/atm/fore200e.c
+++ b/drivers/atm/fore200e.c
@@ -92,7 +92,7 @@
92 92
93#define FORE200E_INDEX(virt_addr, type, index) (&((type *)(virt_addr))[ index ]) 93#define FORE200E_INDEX(virt_addr, type, index) (&((type *)(virt_addr))[ index ])
94 94
95#define FORE200E_NEXT_ENTRY(index, modulo) (index = ++(index) % (modulo)) 95#define FORE200E_NEXT_ENTRY(index, modulo) (index = ((index) + 1) % (modulo))
96 96
97#if 1 97#if 1
98#define ASSERT(expr) if (!(expr)) { \ 98#define ASSERT(expr) if (!(expr)) { \
diff --git a/drivers/atm/lanai.c b/drivers/atm/lanai.c
index a395c9aab146..52880c8387d8 100644
--- a/drivers/atm/lanai.c
+++ b/drivers/atm/lanai.c
@@ -2241,11 +2241,8 @@ static int __devinit lanai_dev_open(struct atm_dev *atmdev)
2241 memcpy(atmdev->esi, eeprom_mac(lanai), ESI_LEN); 2241 memcpy(atmdev->esi, eeprom_mac(lanai), ESI_LEN);
2242 lanai_timed_poll_start(lanai); 2242 lanai_timed_poll_start(lanai);
2243 printk(KERN_NOTICE DEV_LABEL "(itf %d): rev.%d, base=0x%lx, irq=%u " 2243 printk(KERN_NOTICE DEV_LABEL "(itf %d): rev.%d, base=0x%lx, irq=%u "
2244 "(%02X-%02X-%02X-%02X-%02X-%02X)\n", lanai->number, 2244 "(%pMF)\n", lanai->number, (int) lanai->pci->revision,
2245 (int) lanai->pci->revision, (unsigned long) lanai->base, 2245 (unsigned long) lanai->base, lanai->pci->irq, atmdev->esi);
2246 lanai->pci->irq,
2247 atmdev->esi[0], atmdev->esi[1], atmdev->esi[2],
2248 atmdev->esi[3], atmdev->esi[4], atmdev->esi[5]);
2249 printk(KERN_NOTICE DEV_LABEL "(itf %d): LANAI%s, serialno=%u(0x%X), " 2246 printk(KERN_NOTICE DEV_LABEL "(itf %d): LANAI%s, serialno=%u(0x%X), "
2250 "board_rev=%d\n", lanai->number, 2247 "board_rev=%d\n", lanai->number,
2251 lanai->type==lanai2 ? "2" : "HB", (unsigned int) lanai->serialno, 2248 lanai->type==lanai2 ? "2" : "HB", (unsigned int) lanai->serialno,