All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nishanth Aravamudan <nacc@us.ibm.com>
To: kernel-janitors@vger.kernel.org
Subject: Re: [KJ] [PATCH] arch/i386/kernel/kprobes.c
Date: Sun, 16 Oct 2005 21:41:50 +0000	[thread overview]
Message-ID: <20051016214150.GH28213@us.ibm.com> (raw)
In-Reply-To: <4352D95D.8090308@users.sourceforge.net>

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

      reply	other threads:[~2005-10-16 21:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-16 21:03 [KJ] [PATCH] arch/i386/kernel/kprobes.c slackfan
2005-10-16 21:41 ` Nishanth Aravamudan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051016214150.GH28213@us.ibm.com \
    --to=nacc@us.ibm.com \
    --cc=kernel-janitors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.