automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw21171 [PATCH 16/17] net/fm10k/base: replace macros
       [not found] <20170303031727.461-17-qi.z.zhang@intel.com>
@ 2017-03-03  2:27 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-03-03  2:27 UTC (permalink / raw)
  To: test-report; +Cc: Qi Zhang

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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'addr' - possible side-effects?
#117: FILE: drivers/net/fm10k/base/fm10k_type.h:452:
+#define IS_ZERO_ETHER_ADDR(addr) \
 (!((addr)[0] | (addr)[1] | (addr)[2] | (addr)[3] | (addr)[4] | (addr)[5]))

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'addr' - possible side-effects?
#132: FILE: drivers/net/fm10k/base/fm10k_type.h:462:
+#define IS_VALID_ETHER_ADDR(addr) \
+(!IS_MULTICAST_ETHER_ADDR(addr) && !IS_ZERO_ETHER_ADDR(addr))

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

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

only message in thread, other threads:[~2017-03-03  2:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20170303031727.461-17-qi.z.zhang@intel.com>
2017-03-03  2:27 ` [dpdk-test-report] |WARNING| pw21171 [PATCH 16/17] net/fm10k/base: replace 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).