Commit 86cf42e4e029b83110cf98692420239103363dbf
Committed by
David S. Miller
1 parent
88e9fa8a54
Exists in
master
and in
7 other branches
[ATM]: [speedtch] cure atm_printk() macro gcc-2.95 compile error
Signed-off-by: Duncan Sands <baldrick@free.fr> Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil> Signed-off-by: David S. Miller <davem@davemloft.net>
Showing 1 changed file with 6 additions and 6 deletions Side-by-side Diff
drivers/usb/atm/speedtch.c
... | ... | @@ -448,19 +448,19 @@ |
448 | 448 | case 0: |
449 | 449 | atm_dev->signal = ATM_PHY_SIG_LOST; |
450 | 450 | if (instance->last_status) |
451 | - atm_info(usbatm, "ADSL line is down\n"); | |
451 | + atm_info(usbatm, "%s\n", "ADSL line is down"); | |
452 | 452 | /* It may never resync again unless we ask it to... */ |
453 | 453 | ret = speedtch_start_synchro(instance); |
454 | 454 | break; |
455 | 455 | |
456 | 456 | case 0x08: |
457 | 457 | atm_dev->signal = ATM_PHY_SIG_UNKNOWN; |
458 | - atm_info(usbatm, "ADSL line is blocked?\n"); | |
458 | + atm_info(usbatm, "%s\n", "ADSL line is blocked?"); | |
459 | 459 | break; |
460 | 460 | |
461 | 461 | case 0x10: |
462 | 462 | atm_dev->signal = ATM_PHY_SIG_LOST; |
463 | - atm_info(usbatm, "ADSL line is synchronising\n"); | |
463 | + atm_info(usbatm, "%s\n", "ADSL line is synchronising"); | |
464 | 464 | break; |
465 | 465 | |
466 | 466 | case 0x20: |
... | ... | @@ -502,7 +502,7 @@ |
502 | 502 | if (instance->poll_delay < MAX_POLL_DELAY) |
503 | 503 | mod_timer(&instance->status_checker.timer, jiffies + msecs_to_jiffies(instance->poll_delay)); |
504 | 504 | else |
505 | - atm_warn(instance->usbatm, "Too many failures - disabling line status polling\n"); | |
505 | + atm_warn(instance->usbatm, "%s\n", "Too many failures - disabling line status polling"); | |
506 | 506 | } |
507 | 507 | |
508 | 508 | static void speedtch_resubmit_int(unsigned long data) |
509 | 509 | |
... | ... | @@ -545,9 +545,9 @@ |
545 | 545 | |
546 | 546 | if ((count == 6) && !memcmp(up_int, instance->int_data, 6)) { |
547 | 547 | del_timer(&instance->status_checker.timer); |
548 | - atm_info(usbatm, "DSL line goes up\n"); | |
548 | + atm_info(usbatm, "%s\n", "DSL line goes up"); | |
549 | 549 | } else if ((count == 6) && !memcmp(down_int, instance->int_data, 6)) { |
550 | - atm_info(usbatm, "DSL line goes down\n"); | |
550 | + atm_info(usbatm, "%s\n", "DSL line goes down"); | |
551 | 551 | } else { |
552 | 552 | int i; |
553 | 553 |