Message ID | 20210614234802.sTWMIG-eE%akpm@linux-foundation.org |
---|---|
State | Superseded |
Headers | show |
Series | + afs-fix-tracepoint-string-placement-with-built-in-afs.patch added to -mm tree | expand |
Hi Andrew, I have a preferred alternative to this patch, so don't send this to Linus, please. Thanks, David
--- 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