automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw116416 [PATCH v2] net/iavf: fix error of virtchnl command
       [not found] <20220919075358.1299338-1-yidingx.zhou@intel.com>
@ 2022-09-19  7:52 ` checkpatch
  2022-09-19  8:59 ` |FAILURE| " 0-day Robot
  1 sibling, 0 replies; 2+ messages in thread
From: checkpatch @ 2022-09-19  7:52 UTC (permalink / raw)
  To: test-report; +Cc: Yiding Zhou

Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/116416

_coding style issues_


WARNING:TYPO_SPELLING: 'lsit' may be misspelled - perhaps 'list'?
#146: FILE: drivers/net/iavf/iavf_vchnl.c:44:
+	TAILQ_HEAD(event_lsit, iavf_arq_event_element) pending;

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'var' - possible side-effects?
#154: FILE: drivers/net/iavf/iavf_vchnl.c:52:
+#define TAILQ_FOREACH_SAFE(var, head, field, tvar) \
+	for ((var) = TAILQ_FIRST((head)); \
+		(var) && ((tvar) = TAILQ_NEXT((var), field), 1); \
+	(var) = (tvar))

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'tvar' - possible side-effects?
#154: FILE: drivers/net/iavf/iavf_vchnl.c:52:
+#define TAILQ_FOREACH_SAFE(var, head, field, tvar) \
+	for ((var) = TAILQ_FIRST((head)); \
+		(var) && ((tvar) = TAILQ_NEXT((var), field), 1); \
+	(var) = (tvar))

total: 0 errors, 1 warnings, 2 checks, 174 lines checked
Warning in drivers/net/iavf/iavf_vchnl.c:
Using rte_atomicNN_xxx

^ permalink raw reply	[flat|nested] 2+ messages in thread

* |FAILURE| pw116416 [PATCH v2] net/iavf: fix error of virtchnl command
       [not found] <20220919075358.1299338-1-yidingx.zhou@intel.com>
  2022-09-19  7:52 ` |WARNING| pw116416 [PATCH v2] net/iavf: fix error of virtchnl command checkpatch
@ 2022-09-19  8:59 ` 0-day Robot
  1 sibling, 0 replies; 2+ messages in thread
From: 0-day Robot @ 2022-09-19  8:59 UTC (permalink / raw)
  To: test-report; +Cc: yidingx.zhou, robot

From: robot@bytheb.org

Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/116416/

_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/3080802837
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-20.04-gcc-static-mingw" failed at step Build and test
----------------------End summary of failed steps--------------------

-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-static-mingw" at step Build and test
####################################################################################
../drivers/net/iavf/iavf_vchnl.c:124:36: error: ‘F_GETFL’ undeclared (first use in this function)
  124 |  int flags = fcntl(handler->fd[1], F_GETFL);
      |                                    ^~~~~~~
../drivers/net/iavf/iavf_vchnl.c:124:36: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_vchnl.c:125:24: error: ‘F_SETFL’ undeclared (first use in this function)
  125 |  fcntl(handler->fd[1], F_SETFL, flags | O_NONBLOCK);
      |                        ^~~~~~~
../drivers/net/iavf/iavf_vchnl.c:125:41: error: ‘O_NONBLOCK’ undeclared (first use in this function)
  125 |  fcntl(handler->fd[1], F_SETFL, flags | O_NONBLOCK);
      |                                         ^~~~~~~~~~
In file included from ../lib/eal/include/rte_per_lcore.h:25,
                 from ../lib/eal/include/rte_eal.h:19,
                 from ../drivers/net/iavf/iavf_vchnl.c:20:
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_dev_event_handler_fini’:
../lib/eal/windows/include/pthread.h:43:32: error: value computed is not used [-Werror=unused-value]
   43 | #define pthread_cancel(thread) !TerminateThread((HANDLE) thread, 0)
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:143:2: note: in expansion of macro ‘pthread_cancel’
  143 |  pthread_cancel(handler->tid);
      |  ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[421/1305] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_rxtx.c.obj'.
[422/1305] Compiling C object 'drivers/net/iavf/cd88e11@@iavf_avx512_lib@sta/iavf_rxtx_vec_avx512.c.obj'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-static-mingw" at step Build and test
####################################################################################
--------------------------------END LOGS-----------------------------

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-19  9:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20220919075358.1299338-1-yidingx.zhou@intel.com>
2022-09-19  7:52 ` |WARNING| pw116416 [PATCH v2] net/iavf: fix error of virtchnl command checkpatch
2022-09-19  8:59 ` |FAILURE| " 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).