From: Andi Kleen Date: Sat, 13 Apr 2019 07:37:36 +0000 (+0100) Subject: afs: Avoid section confusion in CM_NAME X-Git-Tag: v5.15~6591^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d2abfa86ff373bd00634a656c7ad5531747f2bf8;p=platform%2Fkernel%2Flinux-starfive.git 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 --- diff --git a/fs/afs/cmservice.c b/fs/afs/cmservice.c index 8ee59728..2f8acb4 100644 --- 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) \ - const char afs_SRXCB##name##_name[] __tracepoint_string = \ + char afs_SRXCB##name##_name[] __tracepoint_string = \ "CB." #name /*