[patch] add loglevel to printk in fs/afs/cmservice.c
From: Jesper Juhl (juhl-lkml_at_dif.dk)
Date: 12/31/04
- Previous message: James Nelson: "[PATCH] esp: Make driver SMP-correct"
- Next in thread: Coywolf Qi Hunt: "printk loglevel policy?"
- Reply: Coywolf Qi Hunt: "printk loglevel policy?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 31 Dec 2004 03:02:57 +0100 (CET) To: David Howells <dhowells@redhat.com>
Hi,
below is a small patch that adds loglevel to a printk in
fs/afs/cmservice.c
If considered OK please consider applying.
Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>
diff -up linux-2.6.10-bk2-orig/fs/afs/cmservice.c linux-2.6.10-bk2/fs/afs/cmservice.c
--- linux-2.6.10-bk2-orig/fs/afs/cmservice.c 2004-12-24 22:34:44.000000000 +0100
+++ linux-2.6.10-bk2/fs/afs/cmservice.c 2004-12-31 02:59:13.000000000 +0100
@@ -118,7 +118,7 @@ static int kafscmd(void *arg)
_SRXAFSCM_xxxx_t func;
int die;
- printk("kAFS: Started kafscmd %d\n", current->pid);
+ printk(KERN_INFO "kAFS: Started kafscmd %d\n", current->pid);
daemonize("kafscmd");
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: James Nelson: "[PATCH] esp: Make driver SMP-correct"
- Next in thread: Coywolf Qi Hunt: "printk loglevel policy?"
- Reply: Coywolf Qi Hunt: "printk loglevel policy?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: Suppressing kernel printks.
... change the printk setting with immediate effect with ... messages with a higher
priority than ... Every text line in a message has its own loglevel. ... To
UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... (Debian-User) - Re: printk loglevel policy?
... I've seen a lot of add loglevel to printk patches. ... > need to patch,
is it? ... send the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - printk loglevel policy?
... I've seen a lot of add loglevel to printk patches. ... need to patch,
is it? ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the
body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/ ... (Linux-Kernel) - Re: [PATCH] Dont oops when unregistering unknown kprobes
... > unregistered kprobes (ie. a warning message instead of an oops). ... >
Patch is against 2.6.12-rc3 ... Why not -EINVAL instead of the printk? ...
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ... (Linux-Kernel) - Re: [announcement, patch] real-time interrupts for the Linux kernel
... | attention for a new patch that adds hard real time support to the ...
| Bernhard Kuhn, Senior Software Engineer, Metrowerks ... | - To unsubscribe from
this list: ... (Linux-Kernel)