|WARNING| pw167631 [PATCH] eal: introduce division round up macro
checkpatch at dpdk.org
checkpatch at dpdk.org
Thu Aug 13 00:30:50 CEST 2026
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/167631
_coding style issues_
WARNING:MACRO_ARG_UNUSED: Argument 'max' is not used in function-like macro
#295: FILE: drivers/net/cxgbe/cxgbe_compat.h:172:
+#define usleep_range(min, max) msleep(RTE_DIV_ROUND_UP(min, 1000))
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'Y' - possible side-effects?
#459: FILE: drivers/net/hinic/base/hinic_compat.h:74:
+#define ROUND_UP(X, Y) (RTE_DIV_ROUND_UP(X, Y) * (Y))
WARNING:MACRO_ARG_UNUSED: Argument 'max' is not used in function-like macro
#570: FILE: drivers/net/intel/i40e/base/i40e_osdep.h:235:
+#define usleep_range(min, max) msleep(RTE_DIV_ROUND_UP(min, 1000))
WARNING:MACRO_ARG_UNUSED: Argument 'max' is not used in function-like macro
#588: FILE: drivers/net/intel/ice/base/ice_osdep.h:319:
+#define usleep_range(min, max) msleep(RTE_DIV_ROUND_UP(min, 1000))
WARNING:MACRO_ARG_UNUSED: Argument 'max' is not used in function-like macro
#607: FILE: drivers/net/intel/idpf/base/idpf_osdep.h:299:
+#define usleep_range(min, max) msleep(RTE_DIV_ROUND_UP(min, 1000))
WARNING:MACRO_ARG_UNUSED: Argument 'max' is not used in function-like macro
#921: FILE: drivers/raw/ifpga/base/opae_osdep.h:76:
+#define usleep_range(min, max) msleep(RTE_DIV_ROUND_UP(min, 1000))
total: 0 errors, 5 warnings, 610 lines checked
More information about the test-report
mailing list