You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug descritpion
When trying to deprecate a macro using __DEPRECATED_MACRO e.g.
#define GPIO_PUD_NORMAL __DEPRECATED_MACRO 0
checkpatch generates the following warning
-:1067: WARNING:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#1067: FILE: include/gpio.h:274:
+#define GPIO_PUD_NORMAL __DEPRECATED_MACRO 0
even if __DEPRECATED_MACRO is used correctly.
To Reproduce
Steps to reproduce the behavior:
modify source code by adding #define GPIO_PUD_NORMAL __DEPRECATED_MACRO 0
commit changes using git.
Expected behavior
No warning.
Environment:
OS: Linux
Zephyr version 1.14
The text was updated successfully, but these errors were encountered:
mnkp
added
the
bug
The issue is a bug, or the PR is fixing a bug
label
Jun 7, 2019
Bug descritpion
When trying to deprecate a macro using
__DEPRECATED_MACRO
e.g.checkpatch generates the following warning
even if
__DEPRECATED_MACRO
is used correctly.To Reproduce
Steps to reproduce the behavior:
#define GPIO_PUD_NORMAL __DEPRECATED_MACRO 0
Expected behavior
No warning.
Environment:
The text was updated successfully, but these errors were encountered: