All of lore.kernel.org
 help / color / mirror / Atom feed
* - kprobes-make-kprobesymbol_name-const.patch removed from -mm tree
@ 2007-05-09  2:46 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2007-05-09  2:46 UTC (permalink / raw)
  To: ananth, jkenisto, mm-commits


The patch titled
     Kprobes: Make kprobe.symbol_name const
has been removed from the -mm tree.  Its filename was
     kprobes-make-kprobesymbol_name-const.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: Kprobes: Make kprobe.symbol_name const
From: Ananth N Mavinakayanahalli <ananth@in.ibm.com>

Kprobes doesn't scribble the kprobe.symbol_name field.  Its only set by the
module when registering the probe.  Modules that exercise good hygiene
using the "const" qualifier will see warnings...

	warning: assignment discards qualifiers from pointer target type

Make struct kprobe.symbol_name const char *

Signed-off-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Signed-off-by: Jim Keniston <jkenisto@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 include/linux/kprobes.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN include/linux/kprobes.h~kprobes-make-kprobesymbol_name-const include/linux/kprobes.h
--- a/include/linux/kprobes.h~kprobes-make-kprobesymbol_name-const
+++ a/include/linux/kprobes.h
@@ -78,7 +78,7 @@ struct kprobe {
 	kprobe_opcode_t *addr;
 
 	/* Allow user to indicate symbol name of the probe point */
-	char *symbol_name;
+	const char *symbol_name;
 
 	/* Offset into the symbol */
 	unsigned int offset;
_

Patches currently in -mm which might be from ananth@in.ibm.com are

origin.patch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-05-09  2:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-09  2:46 - kprobes-make-kprobesymbol_name-const.patch removed from -mm tree akpm

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.