kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* help - macro arg reuse - fix ?
@ 2023-10-13 19:27 jim.cromie
  0 siblings, 0 replies; only message in thread
From: jim.cromie @ 2023-10-13 19:27 UTC (permalink / raw)
  To: kernelnewbies

is there a simple fix for this ?


-:451: CHECK:MACRO_ARG_REUSE: Macro argument reuse '_var' - possible
side-effects?
#451: FILE: include/linux/dynamic_debug.h:121:
+#define DYNDBG_CLASSMAP_USE_(_var, _uname)                             \
+       extern struct ddebug_class_map _var;                            \
+       static struct ddebug_class_user __aligned(8) __used             \
+       __section("__dyndbg_class_users") _uname = {                    \
+               .user_mod_name = KBUILD_MODNAME,                        \
+               .map = &_var,                                           \
        }

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-10-13 19:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-13 19:27 help - macro arg reuse - fix ? jim.cromie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).