projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba25b81
)
afs: Avoid section confusion in CM_NAME
author
Andi Kleen
<ak@linux.intel.com>
Sat, 13 Apr 2019 07:37:36 +0000
(08:37 +0100)
committer
David Howells
<dhowells@redhat.com>
Sat, 13 Apr 2019 07:37:36 +0000
(08:37 +0100)
__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>
fs/afs/cmservice.c
patch
|
blob
|
history
diff --git
a/fs/afs/cmservice.c
b/fs/afs/cmservice.c
index
8ee5972
..
2f8acb4
100644
(file)
--- a/
fs/afs/cmservice.c
+++ b/
fs/afs/cmservice.c
@@
-34,7
+34,7
@@
static void SRXAFSCB_TellMeAboutYourself(struct work_struct *);
static int afs_deliver_yfs_cb_callback(struct afs_call *);
#define CM_NAME(name) \
- c
onst char afs_SRXCB##name##_name[] __tracepoint_string =
\
+ c
har afs_SRXCB##name##_name[] __tracepoint_string =
\
"CB." #name
/*