From: Ananth N Mavinakayanahalli Date: Tue, 8 May 2007 07:26:23 +0000 (-0700) Subject: Kprobes: Make kprobe.symbol_name const X-Git-Tag: v2.6.22-rc1~740 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b3af29bf33bfe08c604769632799d27d56ae103;p=pandora-kernel.git Kprobes: Make kprobe.symbol_name const 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 Signed-off-by: Jim Keniston Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed