[patch 5/8] printk : drivers/char/applicom.c

From: domen
Date: Fri Apr 08 2005 - 03:35:01 EST




printk() calls should include appropriate KERN_* constant.

Signed-off-by: Christophe Lucas <clucas@xxxxxxxxxxxxx>
Signed-off-by: Domen Puncer <domen@xxxxxxxxxxxx>
---


kj-domen/drivers/char/applicom.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/char/applicom.c~printk-drivers_char_applicom drivers/char/applicom.c
--- kj/drivers/char/applicom.c~printk-drivers_char_applicom 2005-04-05 12:58:02.000000000 +0200
+++ kj-domen/drivers/char/applicom.c 2005-04-05 12:58:02.000000000 +0200
@@ -599,7 +599,7 @@ static ssize_t ac_read (struct file *fil

#ifdef DEBUG
if (loopcount++ > 2) {
- printk("Looping in ac_read. loopcount %d\n", loopcount);
+ printk(KERN_DEBUG "Looping in ac_read. loopcount %d\n", loopcount);
}
#endif
}
_
-
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/