* |WARNING| pw117671 [PATCH v3] net/iavf: fix error of virtchnl command
[not found] <20221008084852.397649-1-yidingx.zhou@intel.com>
@ 2022-10-08 8:47 ` checkpatch
2022-10-08 10:18 ` |FAILURE| " 0-day Robot
1 sibling, 0 replies; 2+ messages in thread
From: checkpatch @ 2022-10-08 8:47 UTC (permalink / raw)
To: test-report; +Cc: Yiding Zhou
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/117671
_coding style issues_
WARNING:TYPO_SPELLING: 'lsit' may be misspelled - perhaps 'list'?
#158: FILE: drivers/net/iavf/iavf_vchnl.c:46:
+ TAILQ_HEAD(event_lsit, iavf_arq_event_element) pending;
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'var' - possible side-effects?
#166: FILE: drivers/net/iavf/iavf_vchnl.c:54:
+#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?
#166: FILE: drivers/net/iavf/iavf_vchnl.c:54:
+#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, 185 lines checked
Warning in drivers/net/iavf/iavf_vchnl.c:
Using rte_atomicNN_xxx
^ permalink raw reply [flat|nested] 2+ messages in thread
* |FAILURE| pw117671 [PATCH v3] net/iavf: fix error of virtchnl command
[not found] <20221008084852.397649-1-yidingx.zhou@intel.com>
2022-10-08 8:47 ` |WARNING| pw117671 [PATCH v3] net/iavf: fix error of virtchnl command checkpatch
@ 2022-10-08 10:18 ` 0-day Robot
1 sibling, 0 replies; 2+ messages in thread
From: 0-day Robot @ 2022-10-08 10:18 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/117671/
_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/3209839289
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
####################################################################################
[410/1327] Compiling C object 'drivers/a715181@@tmp_rte_net_i40e@sta/net_i40e_i40e_hash.c.obj'.
[411/1327] Compiling C object 'drivers/a715181@@tmp_rte_net_i40e@sta/net_i40e_i40e_fdir.c.obj'.
[412/1327] Compiling C object 'drivers/a715181@@tmp_rte_net_i40e@sta/net_i40e_i40e_flow.c.obj'.
[413/1327] Generating rte_net_i40e_def with a custom command.
[414/1327] Generating rte_net_i40e_mingw with a custom command.
[415/1327] Compiling C object 'drivers/a715181@@tmp_rte_net_i40e@sta/net_i40e_i40e_rxtx_vec_avx2.c.obj'.
[416/1327] Compiling C object 'drivers/a715181@@tmp_rte_net_i40e@sta/net_i40e_i40e_rxtx_vec_sse.c.obj'.
[417/1327] Linking static target drivers/libtmp_rte_net_i40e.a.
[418/1327] Generating rte_net_i40e.pmd.c with a custom command.
[419/1327] Compiling C object 'drivers/a715181@@rte_net_i40e@sha/meson-generated_.._rte_net_i40e.pmd.c.obj'.
[420/1327] Compiling C object 'drivers/a715181@@rte_net_i40e@sta/meson-generated_.._rte_net_i40e.pmd.c.obj'.
[421/1327] Linking static target drivers/librte_net_i40e.a.
[422/1327] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.obj'.
FAILED: drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.obj
ccache x86_64-w64-mingw32-gcc -Idrivers/a715181@@tmp_rte_net_iavf@sta -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/net/iavf/../../common/iavf -I../drivers/net/iavf/../../common/iavf -Ilib/ethdev -I../lib/ethdev -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/windows/include -I../lib/eal/windows/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/windows -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/security -I../lib/security -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -fdiagnostics-color=always -pipe -Wall -Winvalid-pch -Wextra -Werror -O2 -g -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D_WIN32_WINNT=0x0A00 -D__USE_MINGW_ANSI_STDIO -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -fno-asynchronous-unwind-tables -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -MD -MQ 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.obj' -MF 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.obj.d' -o 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_vchnl.c.obj' -c ../drivers/net/iavf/iavf_vchnl.c
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_dev_event_handler_init’:
../drivers/net/iavf/iavf_vchnl.c:118:50: error: ‘_O_BINARY’ undeclared (first use in this function); did you mean ‘REG_BINARY’?
118 | int err = _pipe(handler->fd, MAX_EVENT_PENDING, _O_BINARY);
| ^~~~~~~~~
| REG_BINARY
../drivers/net/iavf/iavf_vchnl.c:118:50: note: each undeclared identifier is reported only once for each function it appears in
[423/1327] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf@sta/net_iavf_iavf_rxtx.c.obj'.
[424/1327] 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-10-08 10:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20221008084852.397649-1-yidingx.zhou@intel.com>
2022-10-08 8:47 ` |WARNING| pw117671 [PATCH v3] net/iavf: fix error of virtchnl command checkpatch
2022-10-08 10:18 ` |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).