[dpdk-test-report] |WARNING| pw77400 [PATCH v2 13/40] net/ice/base: introduce and use for each bit iterator
checkpatch at dpdk.org
checkpatch at dpdk.org
Fri Sep 11 15:19:25 CEST 2020
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
More information about the test-report
mailing list