automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw18040 [PATCH v3 01/12] eal: define container_of macro
       [not found] <1481893853-31790-2-git-send-email-shreyansh.jain@nxp.com>
@ 2016-12-16 13:08 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2016-12-16 13:08 UTC (permalink / raw)
  To: test-report; +Cc: Shreyansh Jain

Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/18040

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#167: FILE: lib/librte_eal/common/include/rte_common.h:349:
+#define container_of(ptr, type, member)	__extension__ ({		\
+			typeof(((type *)0)->member) *_ptr = (ptr);	\
+			(type *)(((char *)_ptr) - offsetof(type, member)); })

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#168: FILE: lib/librte_eal/common/include/rte_common.h:350:
+			typeof(((type *)0)->member) *_ptr = (ptr);	\
 			                            ^

total: 2 errors, 0 warnings, 26 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-12-16 13:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1481893853-31790-2-git-send-email-shreyansh.jain@nxp.com>
2016-12-16 13:08 ` [dpdk-test-report] |WARNING| pw18040 [PATCH v3 01/12] eal: define container_of macro checkpatch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).