|WARNING| pw154064 [PATCH v6 1/1] net/intel: define __builtin_add_overflow for MSVC
checkpatch at dpdk.org
checkpatch at dpdk.org
Thu Jun 5 16:47:12 CEST 2025
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/154064
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'a' - possible side-effects?
#74: FILE: drivers/net/intel/ice/base/ice_osdep.h:132:
+#define __builtin_add_overflow(a, b, res) \
+ _Generic((a), \
+ uint8_t : _addcarry_u8, \
+ uint16_t : _addcarry_u16, \
+ uint32_t : _addcarry_u32, \
+ uint64_t : _addcarry_u64)(0, a, b, res)
CHECK:CAMELCASE: Avoid CamelCase: <_Generic>
#75: FILE: drivers/net/intel/ice/base/ice_osdep.h:133:
+ _Generic((a), \
total: 0 errors, 0 warnings, 2 checks, 15 lines checked
More information about the test-report
mailing list