Commit d2abfa86 authored by Andi Kleen's avatar Andi Kleen Committed by David Howells

afs: Avoid section confusion in CM_NAME

__tracepoint_str cannot be const because the tracepoint_str
section is not read-only. Remove the stray const.

Cc: dhowells@redhat.com
Cc: viro@zeniv.linux.org.uk
Signed-off-by: default avatarAndi Kleen <ak@linux.intel.com>
parent ba25b81e
...@@ -34,7 +34,7 @@ static void SRXAFSCB_TellMeAboutYourself(struct work_struct *); ...@@ -34,7 +34,7 @@ static void SRXAFSCB_TellMeAboutYourself(struct work_struct *);
static int afs_deliver_yfs_cb_callback(struct afs_call *); static int afs_deliver_yfs_cb_callback(struct afs_call *);
#define CM_NAME(name) \ #define CM_NAME(name) \
const char afs_SRXCB##name##_name[] __tracepoint_string = \ char afs_SRXCB##name##_name[] __tracepoint_string = \
"CB." #name "CB." #name
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment