All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] [PATCH] arch/i386/kernel/kprobes.c
@ 2005-10-16 21:03 slackfan
  2005-10-16 21:41 ` Nishanth Aravamudan
  0 siblings, 1 reply; 2+ messages in thread
From: slackfan @ 2005-10-16 21:03 UTC (permalink / raw)
  To: kernel-janitors

Signed-off-by: Anton Brondz <anton.slack@tele2.no>

*--- linux-2.6.14-rc4.orig/arch/i386/kernel/kprobes.c	2005-10-11 01:19:19.000000000 +0000*
*+++ linux-2.6.14-rc4/arch/i386/kernel/kprobes.c	2005-10-16 22:42:30.000000000 +0000*
@@ -521,11 +521,11 @@ int __kprobes longjmp_break_handler(stru
 		if (&regs->esp != jprobe_saved_esp) {
 			struct pt_regs *saved_regs  			    container_of(jprobe_saved_esp, struct pt_regs, esp);
-			printk("current esp %p does not match saved esp %p\n",
+			printk(KERN_WARN "current esp %p does not match saved esp %p\n",
 			       &regs->esp, jprobe_saved_esp);
-			printk("Saved registers for jprobe %p\n", jp);
+			printk(KERN_INFO "Saved registers for jprobe %p\n", jp);
 			show_registers(saved_regs);
-			printk("Current registers\n");
+			printk(KERN_INFO "Current registers\n");
 			show_registers(regs);
 			BUG();
 		}


Just a small patch this time. Hope it'll work.

Dinolinux

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [KJ] [PATCH] arch/i386/kernel/kprobes.c
  2005-10-16 21:03 [KJ] [PATCH] arch/i386/kernel/kprobes.c slackfan
@ 2005-10-16 21:41 ` Nishanth Aravamudan
  0 siblings, 0 replies; 2+ messages in thread
From: Nishanth Aravamudan @ 2005-10-16 21:41 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Type: text/plain, Size: 1482 bytes --]

On 16.10.2005 [22:51:09 +0000], slackfan@users.sourceforge.net wrote:
> Signed-off-by: Anton Brondz <anton.slack@tele2.no>
> 
> *--- linux-2.6.14-rc4.orig/arch/i386/kernel/kprobes.c	2005-10-11 
> 01:19:19.000000000 +0000*
> *+++ linux-2.6.14-rc4/arch/i386/kernel/kprobes.c	2005-10-16 
> 22:42:30.000000000 +0000*
> @@ -521,11 +521,11 @@ int __kprobes longjmp_break_handler(stru
> 		if (&regs->esp != jprobe_saved_esp) {
> 			struct pt_regs *saved_regs =
> 			    container_of(jprobe_saved_esp, struct pt_regs, 
> 			    esp);
> -			printk("current esp %p does not match saved esp 
> %p\n",
> +			printk(KERN_WARN "current esp %p does not match 
> saved esp %p\n",
> 			       &regs->esp, jprobe_saved_esp);
> -			printk("Saved registers for jprobe %p\n", jp);
> +			printk(KERN_INFO "Saved registers for jprobe %p\n", 
> jp);
> 			show_registers(saved_regs);
> -			printk("Current registers\n");
> +			printk(KERN_INFO "Current registers\n");
> 			show_registers(regs);
> 			BUG();
> 		}
> 
> 
> Just a small patch this time. Hope it'll work.

Your patches should always include a description of what they do. Your
e-mails containing patches should always indicate what they are doing
concisely in the subject line. It is not necessary, though, to give the
exact file being modified, e.g. I would have simply put, as the subject,
"kprobes: use appropriate KERN_* in printk".

Also, it's probably best to put your comments *before* the patch, not
after.

Care to redo?

Thanks,
Nish

[-- Attachment #2: Type: text/plain, Size: 168 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-10-16 21:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-16 21:03 [KJ] [PATCH] arch/i386/kernel/kprobes.c slackfan
2005-10-16 21:41 ` Nishanth Aravamudan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.