automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw49889 [v2, 4/7] net/ice/base: add some help macros
       [not found] <20190116141338.12310-5-qi.z.zhang@intel.com>
@ 2019-01-16 14:13 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2019-01-16 14:13 UTC (permalink / raw)
  To: test-report; +Cc: Qi Zhang

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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'align' - possible side-effects?
#44: FILE: drivers/net/ice/base/ice_common.h:63:
+#define ICE_ALIGN(ptr, align)   (((ptr) + ((align) - 1)) & ~((align) - 1))

CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'field' may be better as '(field)' to avoid precedence issues
#56: FILE: drivers/net/ice/base/ice_osdep.h:460:
+#define LIST_NEXT_ENTRY(entry, type, field) \
+	((type *)(entry)->field.next.le_next)

total: 0 errors, 0 warnings, 2 checks, 24 lines checked

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

only message in thread, other threads:[~2019-01-16 14:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20190116141338.12310-5-qi.z.zhang@intel.com>
2019-01-16 14:13 ` [dpdk-test-report] |WARNING| pw49889 [v2, 4/7] net/ice/base: add some help macros 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).