* [dpdk-test-report] |WARNING| pw91998 [PATCH v1 1/1] power: add support for cppc cpufreq
[not found] <20210422061540.23304-2-richael.zhuang@arm.com>
@ 2021-04-22 6:16 ` checkpatch
2021-04-22 7:59 ` [dpdk-test-report] |SUCCESS| pw91998 [dpdk-dev] " 0-day Robot
1 sibling, 0 replies; 2+ messages in thread
From: checkpatch @ 2021-04-22 6:16 UTC (permalink / raw)
To: test-report; +Cc: Richael Zhuang
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/91998
_coding style issues_
WARNING:SINGLE_STATEMENT_DO_WHILE_MACRO: Single statement macros should not use a do {} while (0) loop
#125: FILE: lib/power/power_cppc_cpufreq.c:12:
+#define POWER_DEBUG_TRACE(fmt, args...) do { \
+ RTE_LOG(ERR, POWER, "%s: " fmt, __func__, ## args); \
+} while (0)
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#132: FILE: lib/power/power_cppc_cpufreq.c:19:
+#define FOPEN_OR_ERR_RET(f, retval) do { \
+ if ((f) == NULL) { \
+ RTE_LOG(ERR, POWER, "File not opened
"); \
+ return retval; \
+ } \
+} while (0)
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#139: FILE: lib/power/power_cppc_cpufreq.c:26:
+#define FOPS_OR_NULL_GOTO(ret, label) do { \
+ if ((ret) == NULL) { \
+ RTE_LOG(ERR, POWER, "fgets returns nothing
"); \
+ goto label; \
+ } \
+} while (0)
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#146: FILE: lib/power/power_cppc_cpufreq.c:33:
+#define FOPS_OR_ERR_GOTO(ret, label) do { \
+ if ((ret) < 0) { \
+ RTE_LOG(ERR, POWER, "File operations failed
"); \
+ goto label; \
+ } \
+} while (0)
total: 0 errors, 4 warnings, 1131 lines checked
^ permalink raw reply [flat|nested] 2+ messages in thread
* [dpdk-test-report] |SUCCESS| pw91998 [dpdk-dev] [PATCH v1 1/1] power: add support for cppc cpufreq
[not found] <20210422061540.23304-2-richael.zhuang@arm.com>
2021-04-22 6:16 ` [dpdk-test-report] |WARNING| pw91998 [PATCH v1 1/1] power: add support for cppc cpufreq checkpatch
@ 2021-04-22 7:59 ` 0-day Robot
1 sibling, 0 replies; 2+ messages in thread
From: 0-day Robot @ 2021-04-22 7:59 UTC (permalink / raw)
To: test-report; +Cc: robot
From: robot@bytheb.org
Test-Label: github-robot
Test-Status: SUCCESS
http://patchwork.dpdk.org/patch/91998/
_github build: passed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/773278863
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-04-22 7:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20210422061540.23304-2-richael.zhuang@arm.com>
2021-04-22 6:16 ` [dpdk-test-report] |WARNING| pw91998 [PATCH v1 1/1] power: add support for cppc cpufreq checkpatch
2021-04-22 7:59 ` [dpdk-test-report] |SUCCESS| pw91998 [dpdk-dev] " 0-day Robot
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).