aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/char/synclink_gt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/synclink_gt.c b/drivers/char/synclink_gt.c
index 03a7f20db49a..41eab9831ad5 100644
--- a/drivers/char/synclink_gt.c
+++ b/drivers/char/synclink_gt.c
@@ -4702,13 +4702,13 @@ static int loopback_test(struct slgt_info *info)
4702static int adapter_test(struct slgt_info *info) 4702static int adapter_test(struct slgt_info *info)
4703{ 4703{
4704 DBGINFO(("testing %s\n", info->device_name)); 4704 DBGINFO(("testing %s\n", info->device_name));
4705 if ((info->init_error = register_test(info)) < 0) { 4705 if (register_test(info) < 0) {
4706 printk("register test failure %s addr=%08X\n", 4706 printk("register test failure %s addr=%08X\n",
4707 info->device_name, info->phys_reg_addr); 4707 info->device_name, info->phys_reg_addr);
4708 } else if ((info->init_error = irq_test(info)) < 0) { 4708 } else if (irq_test(info) < 0) {
4709 printk("IRQ test failure %s IRQ=%d\n", 4709 printk("IRQ test failure %s IRQ=%d\n",
4710 info->device_name, info->irq_level); 4710 info->device_name, info->irq_level);
4711 } else if ((info->init_error = loopback_test(info)) < 0) { 4711 } else if (loopback_test(info) < 0) {
4712 printk("loopback test failure %s\n", info->device_name); 4712 printk("loopback test failure %s\n", info->device_name);
4713 } 4713 }
4714 return info->init_error; 4714 return info->init_error;