[PATCH 1/1] cris: sync_serial: incorrect port in error message

From: Heinrich Schuchardt
Date: Wed Jun 18 2014 - 15:35:08 EST


The message for port 1 outputs "port 0".

Signed-off-by: Heinrich Schuchardt <xypron.glpk@xxxxxx>
---
arch/cris/arch-v32/drivers/sync_serial.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/cris/arch-v32/drivers/sync_serial.c b/arch/cris/arch-v32/drivers/sync_serial.c
index bbb806b..a289423 100644
--- a/arch/cris/arch-v32/drivers/sync_serial.c
+++ b/arch/cris/arch-v32/drivers/sync_serial.c
@@ -280,7 +280,7 @@ static int __init etrax_sync_serial_init(void)
#if defined(CONFIG_ETRAX_SYNCHRONOUS_SERIAL_PORT1)
if (crisv32_pinmux_alloc_fixed(pinmux_sser1)) {
printk(KERN_WARNING
- "Unable to alloc pins for synchronous serial port 0\n");
+ "Unable to alloc pins for synchronous serial port 1\n");
return -EIO;
}
ports[1].enabled = 1;
--
2.0.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/