help - macro arg reuse - fix ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux