public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* False positive in checkpatch.pl ?
@ 2015-06-05 17:21 Aseda Aboagye
  2015-06-05 17:43 ` Joe Perches
  0 siblings, 1 reply; 2+ messages in thread
From: Aseda Aboagye @ 2015-06-05 17:21 UTC (permalink / raw)
  To: apw, joe, linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-05 17:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-05 17:21 False positive in checkpatch.pl ? Aseda Aboagye
2015-06-05 17:43 ` Joe Perches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox