diff options
author | Andi Kleen <ak@linux.intel.com> | 2019-04-13 03:37:36 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2019-04-13 03:37:36 -0400 |
commit | d2abfa86ff373bd00634a656c7ad5531747f2bf8 (patch) | |
tree | 1df3c7e421db43cd4cc601c9500a64b4a74f5732 | |
parent | ba25b81e3a420f8345585029d49ee32e73de9d5f (diff) |
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: Andi Kleen <ak@linux.intel.com>
-rw-r--r-- | fs/afs/cmservice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/afs/cmservice.c b/fs/afs/cmservice.c index 8ee5972893ed..2f8acb4c556d 100644 --- a/fs/afs/cmservice.c +++ b/fs/afs/cmservice.c | |||
@@ -34,7 +34,7 @@ static void SRXAFSCB_TellMeAboutYourself(struct work_struct *); | |||
34 | static int afs_deliver_yfs_cb_callback(struct afs_call *); | 34 | static int afs_deliver_yfs_cb_callback(struct afs_call *); |
35 | 35 | ||
36 | #define CM_NAME(name) \ | 36 | #define CM_NAME(name) \ |
37 | const char afs_SRXCB##name##_name[] __tracepoint_string = \ | 37 | char afs_SRXCB##name##_name[] __tracepoint_string = \ |
38 | "CB." #name | 38 | "CB." #name |
39 | 39 | ||
40 | /* | 40 | /* |