[PATCH 4/4] ISDN: add missing KERN_CONT

From: Sasha Levin
Date: Tue May 08 2012 - 11:55:34 EST


Prevent this behaviour:

ISDN subsystem Rev: 1.1.2.3/
1.1.2.2/
1.1.2.3/
1.1.2.2/
1.1.2.2

Revealed due to a new modification to printk().

Signed-off-by: Sasha Levin <levinsasha928@xxxxxxxxx>
---
drivers/isdn/i4l/isdn_common.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/isdn/i4l/isdn_common.c b/drivers/isdn/i4l/isdn_common.c
index 8c610fa..a75241c 100644
--- a/drivers/isdn/i4l/isdn_common.c
+++ b/drivers/isdn/i4l/isdn_common.c
@@ -2351,18 +2351,18 @@ static int __init isdn_init(void)
strcpy(tmprev, isdn_revision);
printk(KERN_NOTICE "ISDN subsystem Rev: %s/", isdn_getrev(tmprev));
strcpy(tmprev, isdn_net_revision);
- printk("%s/", isdn_getrev(tmprev));
+ printk(KERN_CONT "%s/", isdn_getrev(tmprev));
strcpy(tmprev, isdn_ppp_revision);
- printk("%s/", isdn_getrev(tmprev));
+ printk(KERN_CONT "%s/", isdn_getrev(tmprev));
strcpy(tmprev, isdn_audio_revision);
- printk("%s/", isdn_getrev(tmprev));
+ printk(KERN_CONT "%s/", isdn_getrev(tmprev));
strcpy(tmprev, isdn_v110_revision);
- printk("%s", isdn_getrev(tmprev));
+ printk(KERN_CONT "%s", isdn_getrev(tmprev));

#ifdef MODULE
- printk(" loaded\n");
+ printk(KERN_CONT " loaded\n");
#else
- printk("\n");
+ printk(KERN_CONG "\n");
#endif
isdn_info_update();
return 0;
--
1.7.8.5

--
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/