help - macro arg reuse - fix ?

[email protected]
Newsgroups org.kernelnewbies.kernelnewbies
Message-ID <CAJfuBxzocKqVmDb6821uBk5kwYGhZSBSvQqqg1EEDOUc6OGM4A@mail.gmail.com>
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
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.