[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJnPg5JS_evQaKVGiSHs-yZ+Gfh_-w3APqa3Lin7-pXM7xeRbw@mail.gmail.com>
Date: Fri, 5 Jun 2015 10:21:11 -0700
From: Aseda Aboagye <aaboagye@...gle.com>
To: apw@...onical.com, joe@...ches.com, linux-kernel@...r.kernel.org
Subject: False positive in checkpatch.pl ?
Hello CHECKPATCH maintainers,
I encountered this error when using the checkpatch.pl script
complaining about my macro.
Errors:
* checkpatch.pl errors/warnings
ERROR: Macros with complex values should be enclosed in parenthesis
#92: FILE: include/libsharedobjs.h:28:
+#define SHAREDLIB(...) __attribute__
((section(".roshared"))) __VA_ARGS__
total: 1 errors, 0 warnings, 45 lines checked
Since it's really an attribute, adding the parens wouldn't work. Just
thought I'd send this your way. Perhaps make an exception for cases
like these?
Thanks,
--
Aseda Aboagye
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists