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

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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'addr' - possible side-effects?
#119: 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?
#134: 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-08  5:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20170308061906.950-17-qi.z.zhang@intel.com>
2017-03-08  5:29 ` [dpdk-test-report] |WARNING| pw21591 [PATCH v2 16/18] 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).