aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/isicom.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tty/isicom.c')
-rw-r--r--drivers/tty/isicom.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/tty/isicom.c b/drivers/tty/isicom.c
index 858291ca889c..59ed783c4bcd 100644
--- a/drivers/tty/isicom.c
+++ b/drivers/tty/isicom.c
@@ -249,7 +249,7 @@ static int lock_card(struct isi_board *card)
249 spin_unlock_irqrestore(&card->card_lock, card->flags); 249 spin_unlock_irqrestore(&card->card_lock, card->flags);
250 msleep(10); 250 msleep(10);
251 } 251 }
252 pr_warning("Failed to lock Card (0x%lx)\n", card->base); 252 pr_warn("Failed to lock Card (0x%lx)\n", card->base);
253 253
254 return 0; /* Failed to acquire the card! */ 254 return 0; /* Failed to acquire the card! */
255} 255}
@@ -378,13 +378,13 @@ static inline int __isicom_paranoia_check(struct isi_port const *port,
378 char *name, const char *routine) 378 char *name, const char *routine)
379{ 379{
380 if (!port) { 380 if (!port) {
381 pr_warning("Warning: bad isicom magic for dev %s in %s.\n", 381 pr_warn("Warning: bad isicom magic for dev %s in %s\n",
382 name, routine); 382 name, routine);
383 return 1; 383 return 1;
384 } 384 }
385 if (port->magic != ISICOM_MAGIC) { 385 if (port->magic != ISICOM_MAGIC) {
386 pr_warning("Warning: NULL isicom port for dev %s in %s.\n", 386 pr_warn("Warning: NULL isicom port for dev %s in %s\n",
387 name, routine); 387 name, routine);
388 return 1; 388 return 1;
389 } 389 }
390 390
@@ -546,8 +546,8 @@ static irqreturn_t isicom_interrupt(int irq, void *dev_id)
546 byte_count = header & 0xff; 546 byte_count = header & 0xff;
547 547
548 if (channel + 1 > card->port_count) { 548 if (channel + 1 > card->port_count) {
549 pr_warning("%s(0x%lx): %d(channel) > port_count.\n", 549 pr_warn("%s(0x%lx): %d(channel) > port_count\n",
550 __func__, base, channel+1); 550 __func__, base, channel + 1);
551 outw(0x0000, base+0x04); /* enable interrupts */ 551 outw(0x0000, base+0x04); /* enable interrupts */
552 spin_unlock(&card->card_lock); 552 spin_unlock(&card->card_lock);
553 return IRQ_HANDLED; 553 return IRQ_HANDLED;