-
-
Save conor-pwbot/8415b83b5fa9e8955688fdd0c2494472 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ERROR: Macros with complex values should be enclosed in parentheses |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
========== | |
checkpatch - FAILED | |
ERROR: Macros with complex values should be enclosed in parentheses | |
#46: FILE: include/linux/compiler_types.h:239: | |
+#define __noinstr_section(section) \ | |
+ noinline notrace __section(section) __no_profile \ | |
+ __no_kcsan __no_sanitize_address __no_sanitize_coverage \ | |
__no_sanitize_memory | |
total: 1 errors, 0 warnings, 0 checks, 23 lines checked | |
NOTE: For some of the reported defects, checkpatch may be able to | |
mechanically convert to the typical style using --fix or --fix-inplace. | |
Commit 9ad9bcbf608b ("compiler_types.h: Add __noinstr_section() for noinstr") has style problems, please review. | |
NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF | |
NOTE: If any of the errors are false positives, please report | |
them to the maintainer, see CHECKPATCH in MAINTAINERS. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment