Message ID | 20210623222412.CTsmCepgK%akpm@linux-foundation.org |
---|---|
State | New |
Headers | show |
Series | [alternative-merged] afs-fix-tracepoint-string-placement-with-built-in-afs.patch removed from -mm tree | expand |
--- a/fs/afs/cmservice.c~afs-fix-tracepoint-string-placement-with-built-in-afs +++ a/fs/afs/cmservice.c @@ -30,8 +30,9 @@ static void SRXAFSCB_TellMeAboutYourself static int afs_deliver_yfs_cb_callback(struct afs_call *); #define CM_NAME(name) \ - char afs_SRXCB##name##_name[] __tracepoint_string = \ - "CB." #name + const char afs_SRXCB##name##_name[] = "CB." #name; \ + static const char *_afs_SRXCB##name##_name __tracepoint_string =\ + afs_SRXCB##name##_name /* * CB.CallBack operation type