* [dpdk-test-report] |WARNING| pw77400 [PATCH v2 13/40] net/ice/base: introduce and use for each bit iterator
[not found] <20200911131954.15999-14-qi.z.zhang@intel.com>
@ 2020-09-11 13:19 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2020-09-11 13:19 UTC (permalink / raw)
To: test-report; +Cc: Qi Zhang
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/77400
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse '_bitpos' - possible side-effects?
#134: FILE: drivers/net/ice/base/ice_bitops.h:349:
+#define ice_for_each_set_bit(_bitpos, _addr, _maxlen) \
+ for ((_bitpos) = ice_find_first_bit((_addr), (_maxlen)); \
+ (_bitpos) < (_maxlen); \
+ (_bitpos) = ice_find_next_bit((_addr), (_maxlen), (_bitpos) + 1))
CHECK:MACRO_ARG_REUSE: Macro argument reuse '_addr' - possible side-effects?
#134: FILE: drivers/net/ice/base/ice_bitops.h:349:
+#define ice_for_each_set_bit(_bitpos, _addr, _maxlen) \
+ for ((_bitpos) = ice_find_first_bit((_addr), (_maxlen)); \
+ (_bitpos) < (_maxlen); \
+ (_bitpos) = ice_find_next_bit((_addr), (_maxlen), (_bitpos) + 1))
CHECK:MACRO_ARG_REUSE: Macro argument reuse '_maxlen' - possible side-effects?
#134: FILE: drivers/net/ice/base/ice_bitops.h:349:
+#define ice_for_each_set_bit(_bitpos, _addr, _maxlen) \
+ for ((_bitpos) = ice_find_first_bit((_addr), (_maxlen)); \
+ (_bitpos) < (_maxlen); \
+ (_bitpos) = ice_find_next_bit((_addr), (_maxlen), (_bitpos) + 1))
total: 0 errors, 0 warnings, 3 checks, 369 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-09-11 13:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20200911131954.15999-14-qi.z.zhang@intel.com>
2020-09-11 13:19 ` [dpdk-test-report] |WARNING| pw77400 [PATCH v2 13/40] net/ice/base: introduce and use for each bit iterator 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).