* [dpdk-test-report] |WARNING| pw101657 [dpdk-dev v3 10/10] common/qat: unify naming conventions in qat functions
[not found] <20211014161137.1405168-11-roy.fan.zhang@intel.com>
@ 2021-10-14 16:21 ` checkpatch
2021-10-14 16:59 ` [dpdk-test-report] |FAILURE| pw101657 [dpdk-dev] " 0-day Robot
1 sibling, 0 replies; 2+ messages in thread
From: checkpatch @ 2021-10-14 16:21 UTC (permalink / raw)
To: test-report; +Cc: Fan Zhang
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/101657
_coding style issues_
WARNING:TYPO_SPELLING: 'specif' may be misspelled - perhaps 'specify'?
#1057: FILE: drivers/crypto/qat/qat_sym_session.c:510:
+ ICP_QAT_FW_LA_PROTO_SET(qat_fw_hdr->serv_specif_flags,
WARNING:TYPO_SPELLING: 'specif' may be misspelled - perhaps 'specify'?
#1061: FILE: drivers/crypto/qat/qat_sym_session.c:513:
+ qat_fw_hdr->serv_specif_flags, 0);
WARNING:TYPO_SPELLING: 'specif' may be misspelled - perhaps 'specify'?
#1065: FILE: drivers/crypto/qat/qat_sym_session.c:516:
+ ICP_QAT_FW_LA_PROTO_SET(qat_fw_hdr->serv_specif_flags,
WARNING:TYPO_SPELLING: 'specif' may be misspelled - perhaps 'specify'?
#1069: FILE: drivers/crypto/qat/qat_sym_session.c:519:
+ qat_fw_hdr->serv_specif_flags,
WARNING:TYPO_SPELLING: 'specif' may be misspelled - perhaps 'specify'?
#1074: FILE: drivers/crypto/qat/qat_sym_session.c:523:
+ ICP_QAT_FW_LA_PROTO_SET(qat_fw_hdr->serv_specif_flags,
WARNING:TYPO_SPELLING: 'specif' may be misspelled - perhaps 'specify'?
#1078: FILE: drivers/crypto/qat/qat_sym_session.c:526:
+ qat_fw_hdr->serv_specif_flags, 0);
WARNING:TYPO_SPELLING: 'specif' may be misspelled - perhaps 'specify'?
#1700: FILE: drivers/crypto/qat/qat_sym_session.c:1485:
+ ICP_QAT_FW_LA_PARTIAL_SET(qat_fw_hdr->serv_specif_flags,
WARNING:TYPO_SPELLING: 'specif' may be misspelled - perhaps 'specify'?
#1703: FILE: drivers/crypto/qat/qat_sym_session.c:1487:
+ ICP_QAT_FW_LA_CIPH_IV_FLD_FLAG_SET(qat_fw_hdr->serv_specif_flags,
WARNING:TYPO_SPELLING: 'specif' may be misspelled - perhaps 'specify'?
#1710: FILE: drivers/crypto/qat/qat_sym_session.c:1492:
+ ICP_QAT_FW_LA_PROTO_SET(qat_fw_hdr->serv_specif_flags,
WARNING:TYPO_SPELLING: 'specif' may be misspelled - perhaps 'specify'?
#1715: FILE: drivers/crypto/qat/qat_sym_session.c:1496:
+ ICP_QAT_FW_LA_PROTO_SET(qat_fw_hdr->serv_specif_flags,
WARNING:TYPO_SPELLING: 'specif' may be misspelled - perhaps 'specify'?
#1720: FILE: drivers/crypto/qat/qat_sym_session.c:1500:
+ ICP_QAT_FW_LA_PROTO_SET(qat_fw_hdr->serv_specif_flags,
WARNING:TYPO_SPELLING: 'specif' may be misspelled - perhaps 'specify'?
#1725: FILE: drivers/crypto/qat/qat_sym_session.c:1504:
+ ICP_QAT_FW_LA_PROTO_SET(qat_fw_hdr->serv_specif_flags,
WARNING:TYPO_SPELLING: 'specif' may be misspelled - perhaps 'specify'?
#1730: FILE: drivers/crypto/qat/qat_sym_session.c:1508:
+ ICP_QAT_FW_LA_ZUC_3G_PROTO_FLAG_SET(qat_fw_hdr->serv_specif_flags,
WARNING:TYPO_SPELLING: 'specif' may be misspelled - perhaps 'specify'?
#1740: FILE: drivers/crypto/qat/qat_sym_session.c:1516:
+ qat_fw_hdr->serv_specif_flags,
WARNING:TYPO_SPELLING: 'specif' may be misspelled - perhaps 'specify'?
#1747: FILE: drivers/crypto/qat/qat_sym_session.c:1521:
+ qat_fw_hdr->serv_specif_flags,
WARNING:TYPO_SPELLING: 'specif' may be misspelled - perhaps 'specify'?
#1756: FILE: drivers/crypto/qat/qat_sym_session.c:1527:
+ ICP_QAT_FW_LA_RET_AUTH_SET(qat_fw_hdr->serv_specif_flags,
WARNING:TYPO_SPELLING: 'specif' may be misspelled - perhaps 'specify'?
#1759: FILE: drivers/crypto/qat/qat_sym_session.c:1529:
+ ICP_QAT_FW_LA_CMP_AUTH_SET(qat_fw_hdr->serv_specif_flags,
WARNING:TYPO_SPELLING: 'specif' may be misspelled - perhaps 'specify'?
#1764: FILE: drivers/crypto/qat/qat_sym_session.c:1532:
+ ICP_QAT_FW_LA_RET_AUTH_SET(qat_fw_hdr->serv_specif_flags,
WARNING:TYPO_SPELLING: 'specif' may be misspelled - perhaps 'specify'?
#1767: FILE: drivers/crypto/qat/qat_sym_session.c:1534:
+ ICP_QAT_FW_LA_CMP_AUTH_SET(qat_fw_hdr->serv_specif_flags,
WARNING:TYPO_SPELLING: 'specif' may be misspelled - perhaps 'specify'?
#1772: FILE: drivers/crypto/qat/qat_sym_session.c:1538:
+ ICP_QAT_FW_LA_RET_AUTH_SET(qat_fw_hdr->serv_specif_flags,
WARNING:TYPO_SPELLING: 'specif' may be misspelled - perhaps 'specify'?
#1775: FILE: drivers/crypto/qat/qat_sym_session.c:1540:
+ ICP_QAT_FW_LA_CMP_AUTH_SET(qat_fw_hdr->serv_specif_flags,
WARNING:TYPO_SPELLING: 'specif' may be misspelled - perhaps 'specify'?
#1783: FILE: drivers/crypto/qat/qat_sym_session.c:1546:
+ qat_fw_hdr->serv_specif_flags,
WARNING:TYPO_SPELLING: 'specif' may be misspelled - perhaps 'specify'?
#1788: FILE: drivers/crypto/qat/qat_sym_session.c:1550:
+ ICP_QAT_FW_LA_UPDATE_STATE_SET(qat_fw_hdr->serv_specif_flags,
WARNING:TYPO_SPELLING: 'specif' may be misspelled - perhaps 'specify'?
#1791: FILE: drivers/crypto/qat/qat_sym_session.c:1552:
+ ICP_QAT_FW_LA_DIGEST_IN_BUFFER_SET(qat_fw_hdr->serv_specif_flags,
WARNING:TYPO_SPELLING: 'specif' may be misspelled - perhaps 'specify'?
#1825: FILE: drivers/crypto/qat/qat_sym_session.c:1571:
+ &qat_session->fw_req.serv_specif_rqpars;
WARNING:TYPO_SPELLING: 'specif' may be misspelled - perhaps 'specify'?
#1829: FILE: drivers/crypto/qat/qat_sym_session.c:1574:
+ &qat_session->fw_req.serv_specif_rqpars;
WARNING:TYPO_SPELLING: 'specif' may be misspelled - perhaps 'specify'?
#1846: FILE: drivers/crypto/qat/qat_sym_session.c:1586:
+ ICP_QAT_FW_LA_RET_AUTH_SET(qat_fw_hdr->serv_specif_flags,
WARNING:TYPO_SPELLING: 'specif' may be misspelled - perhaps 'specify'?
#1849: FILE: drivers/crypto/qat/qat_sym_session.c:1588:
+ ICP_QAT_FW_LA_CMP_AUTH_SET(qat_fw_hdr->serv_specif_flags,
WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 32)
#1888: FILE: drivers/crypto/qat/qat_sym_session.c:1615:
+ if (qat_session->qat_cipher_alg ==
[...]
+ qat_session->qat_dir = ICP_QAT_HW_CIPHER_DECRYPT;
WARNING:TYPO_SPELLING: 'specif' may be misspelled - perhaps 'specify'?
#2145: FILE: drivers/crypto/qat/qat_sym_session.c:1773:
+ ((char *)&qat_fw_req->serv_specif_rqpars +
total: 0 errors, 30 warnings, 2453 lines checked
^ permalink raw reply [flat|nested] 2+ messages in thread
* [dpdk-test-report] |FAILURE| pw101657 [dpdk-dev] [dpdk-dev v3 10/10] common/qat: unify naming conventions in qat functions
[not found] <20211014161137.1405168-11-roy.fan.zhang@intel.com>
2021-10-14 16:21 ` [dpdk-test-report] |WARNING| pw101657 [dpdk-dev v3 10/10] common/qat: unify naming conventions in qat functions checkpatch
@ 2021-10-14 16:59 ` 0-day Robot
1 sibling, 0 replies; 2+ messages in thread
From: 0-day Robot @ 2021-10-14 16:59 UTC (permalink / raw)
To: test-report; +Cc: roy.fan.zhang, robot
From: robot@bytheb.org
Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/101657/
_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/1342710435
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-18.04-gcc-static" failed at step Build and test
"ubuntu-18.04-gcc-shared-doc+tests" failed at step Build and test
"ubuntu-18.04-clang-static" failed at step Build and test
"ubuntu-18.04-clang-shared-doc+tests" failed at step Build and test
"ubuntu-18.04-gcc-static-i386" failed at step Build and test
"ubuntu-18.04-gcc-static-aarch64" failed at step Build and test
"ubuntu-18.04-gcc-shared-aarch64" failed at step Build and test
----------------------End summary of failed steps--------------------
-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-18.04-gcc-static" at step Build and test
####################################################################################
[754/3298] Compiling C object 'drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_linux_mlx5_common_verbs.c.o'.
[755/3298] Generating rte_common_mlx5_def with a custom command.
[756/3298] Generating rte_common_mlx5_mingw with a custom command.
[757/3298] Generating rte_raw_dpaa2_cmdif_mingw with a custom command.
[758/3298] Compiling C object 'drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_mlx5_devx_cmds.c.o'.
[759/3298] Linking static target drivers/libtmp_rte_common_mlx5.a.
[760/3298] Generating rte_common_mlx5.pmd.c with a custom command.
[761/3298] Compiling C object 'drivers/a715181@@rte_common_mlx5@sta/meson-generated_.._rte_common_mlx5.pmd.c.o'.
[762/3298] Linking static target drivers/librte_common_mlx5.a.
[763/3298] Compiling C object 'drivers/a715181@@rte_common_mlx5@sha/meson-generated_.._rte_common_mlx5.pmd.c.o'.
[764/3298] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_device.c.o'.
[765/3298] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_dev_qat_dev_gen3.c.o'.
[766/3298] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_dev_qat_dev_gen4.c.o'.
[767/3298] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_qp.c.o'.
FAILED: drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_qp.c.o
ccache gcc -Idrivers/a715181@@tmp_rte_common_qat@sta -Idrivers -I../drivers -Idrivers/common/qat -I../drivers/common/qat -I../drivers/common/qat/qat_adf -I../drivers/common/qat/../../crypto/qat -I../drivers/common/qat/../../compress/qat -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/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/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/compressdev -I../lib/compressdev -Ilib/security -I../lib/security -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DBUILD_QAT_SYM -DBUILD_QAT_ASYM -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -MD -MQ 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_qp.c.o' -MF 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_qp.c.o.d' -o 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_qp.c.o' -c ../drivers/common/qat/qat_qp.c
../drivers/common/qat/qat_qp.c: In function ‘qat_qp_setup’:
../drivers/common/qat/qat_qp.c:180:2: error: ‘qp’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
rte_free(qp);
^~~~~~~~~~~~
cc1: all warnings being treated as errors
[768/3298] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/compress_qat_qat_comp.c.o'.
[769/3298] Compiling C object 'lib/76b5a35@@rte_pipeline@sta/pipeline_rte_table_action.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-18.04-gcc-static" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-18.04-gcc-shared-doc+tests" at step Build and test
####################################################################################
[771/3514] Generating rte_common_mlx5_def with a custom command.
[772/3514] Generating rte_common_mlx5_mingw with a custom command.
[773/3514] Generating rte_raw_dpaa2_cmdif_mingw with a custom command.
[774/3514] Compiling C object 'drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_linux_mlx5_common_verbs.c.o'.
[775/3514] Linking static target drivers/libtmp_rte_common_mlx5.a.
[776/3514] Generating rte_common_mlx5.pmd.c with a custom command.
[777/3514] Compiling C object 'drivers/a715181@@rte_common_mlx5@sta/meson-generated_.._rte_common_mlx5.pmd.c.o'.
[778/3514] Linking static target drivers/librte_common_mlx5.a.
[779/3514] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_device.c.o'.
[780/3514] Compiling C object 'drivers/a715181@@rte_common_mlx5@sha/meson-generated_.._rte_common_mlx5.pmd.c.o'.
[781/3514] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_dev_qat_dev_gen3.c.o'.
[782/3514] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_dev_qat_dev_gen4.c.o'.
[783/3514] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/compress_qat_qat_comp.c.o'.
[784/3514] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_qp.c.o'.
FAILED: drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_qp.c.o
ccache gcc -Idrivers/a715181@@tmp_rte_common_qat@sta -Idrivers -I../drivers -Idrivers/common/qat -I../drivers/common/qat -I../drivers/common/qat/qat_adf -I../drivers/common/qat/../../crypto/qat -I../drivers/common/qat/../../compress/qat -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/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/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/compressdev -I../lib/compressdev -Ilib/security -I../lib/security -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DBUILD_QAT_SYM -DBUILD_QAT_ASYM -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -MD -MQ 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_qp.c.o' -MF 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_qp.c.o.d' -o 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_qp.c.o' -c ../drivers/common/qat/qat_qp.c
../drivers/common/qat/qat_qp.c: In function ‘qat_qp_setup’:
../drivers/common/qat/qat_qp.c:180:2: error: ‘qp’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
rte_free(qp);
^~~~~~~~~~~~
cc1: all warnings being treated as errors
[785/3514] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_common.c.o'.
[786/3514] Compiling C object 'lib/76b5a35@@rte_pipeline@sta/pipeline_rte_table_action.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-18.04-gcc-shared-doc+tests" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-18.04-clang-static" at step Build and test
####################################################################################
[758/3300] Linking static target drivers/libtmp_rte_common_mlx5.a.
[759/3300] Generating rte_common_mlx5.pmd.c with a custom command.
[760/3300] Compiling C object 'drivers/a715181@@rte_common_mlx5@sta/meson-generated_.._rte_common_mlx5.pmd.c.o'.
[761/3300] Linking static target drivers/librte_common_mlx5.a.
[762/3300] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_qp.c.o'.
FAILED: drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_qp.c.o
ccache clang -Idrivers/a715181@@tmp_rte_common_qat@sta -Idrivers -I../drivers -Idrivers/common/qat -I../drivers/common/qat -I../drivers/common/qat/qat_adf -I../drivers/common/qat/../../crypto/qat -I../drivers/common/qat/../../compress/qat -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/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/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/compressdev -I../lib/compressdev -Ilib/security -I../lib/security -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DBUILD_QAT_SYM -DBUILD_QAT_ASYM -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -MD -MQ 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_qp.c.o' -MF 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_qp.c.o.d' -o 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_qp.c.o' -c ../drivers/common/qat/qat_qp.c
../drivers/common/qat/qat_qp.c:75:6: error: variable 'qp' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized]
if (ops_hw->qat_dev_get_transport_bar == NULL) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/qat/qat_qp.c:177:6: note: uninitialized use occurs here
if (qp->op_cookie_pool)
^~
../drivers/common/qat/qat_qp.c:75:2: note: remove the 'if' if its condition is always false
if (ops_hw->qat_dev_get_transport_bar == NULL) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/qat/qat_qp.c:56:19: note: initialize the variable 'qp' to silence this warning
struct qat_qp *qp;
^
= NULL
1 error generated.
[763/3300] Compiling C object 'drivers/a715181@@rte_common_mlx5@sha/meson-generated_.._rte_common_mlx5.pmd.c.o'.
[764/3300] Compiling C object 'lib/76b5a35@@rte_pipeline@sta/pipeline_rte_table_action.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-18.04-clang-static" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-18.04-clang-shared-doc+tests" at step Build and test
####################################################################################
[771/3516] Generating rte_raw_dpaa2_cmdif_mingw with a custom command.
[772/3516] Generating rte_common_mlx5_mingw with a custom command.
[773/3516] Compiling C object 'drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_linux_mlx5_common_os.c.o'.
[774/3516] Linking static target drivers/libtmp_rte_common_mlx5.a.
[775/3516] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_qp.c.o'.
FAILED: drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_qp.c.o
ccache clang -Idrivers/a715181@@tmp_rte_common_qat@sta -Idrivers -I../drivers -Idrivers/common/qat -I../drivers/common/qat -I../drivers/common/qat/qat_adf -I../drivers/common/qat/../../crypto/qat -I../drivers/common/qat/../../compress/qat -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/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/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/compressdev -I../lib/compressdev -Ilib/security -I../lib/security -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DBUILD_QAT_SYM -DBUILD_QAT_ASYM -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -MD -MQ 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_qp.c.o' -MF 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_qp.c.o.d' -o 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_qp.c.o' -c ../drivers/common/qat/qat_qp.c
../drivers/common/qat/qat_qp.c:75:6: error: variable 'qp' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized]
if (ops_hw->qat_dev_get_transport_bar == NULL) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/qat/qat_qp.c:177:6: note: uninitialized use occurs here
if (qp->op_cookie_pool)
^~
../drivers/common/qat/qat_qp.c:75:2: note: remove the 'if' if its condition is always false
if (ops_hw->qat_dev_get_transport_bar == NULL) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/qat/qat_qp.c:56:19: note: initialize the variable 'qp' to silence this warning
struct qat_qp *qp;
^
= NULL
1 error generated.
[776/3516] Generating rte_common_mlx5.pmd.c with a custom command.
[777/3516] Compiling C object 'lib/76b5a35@@rte_pipeline@sta/pipeline_rte_table_action.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-18.04-clang-shared-doc+tests" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-18.04-gcc-static-i386" at step Build and test
####################################################################################
[634/2534] Compiling C object 'drivers/a715181@@tmp_rte_bus_vmbus@sta/bus_vmbus_vmbus_common_uio.c.o'.
[635/2534] Compiling C object 'drivers/a715181@@tmp_rte_bus_vmbus@sta/bus_vmbus_linux_vmbus_bus.c.o'.
[636/2534] Generating rte_bus_vmbus_def with a custom command.
[637/2534] Generating rte_bus_vmbus_mingw with a custom command.
[638/2534] Compiling C object 'drivers/a715181@@tmp_rte_bus_vmbus@sta/bus_vmbus_linux_vmbus_uio.c.o'.
[639/2534] Linking static target drivers/libtmp_rte_bus_vmbus.a.
[640/2534] Generating rte_bus_vmbus.pmd.c with a custom command.
[641/2534] Compiling C object 'drivers/a715181@@rte_bus_vmbus@sta/meson-generated_.._rte_bus_vmbus.pmd.c.o'.
[642/2534] Linking static target drivers/librte_bus_vmbus.a.
[643/2534] Compiling C object 'drivers/a715181@@rte_bus_vmbus@sha/meson-generated_.._rte_bus_vmbus.pmd.c.o'.
[644/2534] Linking target drivers/librte_bus_vmbus.so.22.0.
[645/2534] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_common.c.o'.
[646/2534] Generating symbol file 'drivers/a715181@@rte_bus_vmbus@sha/librte_bus_vmbus.so.22.0.symbols'.
[647/2534] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_qp.c.o'.
FAILED: drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_qp.c.o
ccache gcc -Idrivers/a715181@@tmp_rte_common_qat@sta -Idrivers -I../drivers -Idrivers/common/qat -I../drivers/common/qat -I../drivers/common/qat/qat_adf -I../drivers/common/qat/../../crypto/qat -I../drivers/common/qat/../../compress/qat -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/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/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/compressdev -I../lib/compressdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -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-missing-field-initializers -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -MD -MQ 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_qp.c.o' -MF 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_qp.c.o.d' -o 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_qp.c.o' -c ../drivers/common/qat/qat_qp.c
../drivers/common/qat/qat_qp.c: In function ‘qat_qp_setup’:
../drivers/common/qat/qat_qp.c:180:2: error: ‘qp’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
rte_free(qp);
^~~~~~~~~~~~
cc1: all warnings being treated as errors
[648/2534] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_device.c.o'.
[649/2534] Compiling C object 'lib/76b5a35@@rte_pipeline@sta/pipeline_rte_table_action.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-18.04-gcc-static-i386" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-18.04-gcc-static-aarch64" at step Build and test
####################################################################################
[754/3298] Compiling C object 'drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_mlx5_devx_cmds.c.o'.
[755/3298] Generating rte_common_mlx5_def with a custom command.
[756/3298] Generating rte_common_mlx5_mingw with a custom command.
[757/3298] Generating rte_raw_dpaa2_cmdif_mingw with a custom command.
[758/3298] Compiling C object 'drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_linux_mlx5_common_verbs.c.o'.
[759/3298] Linking static target drivers/libtmp_rte_common_mlx5.a.
[760/3298] Generating rte_common_mlx5.pmd.c with a custom command.
[761/3298] Compiling C object 'drivers/a715181@@rte_common_mlx5@sta/meson-generated_.._rte_common_mlx5.pmd.c.o'.
[762/3298] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_device.c.o'.
[763/3298] Linking static target drivers/librte_common_mlx5.a.
[764/3298] Compiling C object 'drivers/a715181@@rte_common_mlx5@sha/meson-generated_.._rte_common_mlx5.pmd.c.o'.
[765/3298] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_dev_qat_dev_gen3.c.o'.
[766/3298] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_dev_qat_dev_gen4.c.o'.
[767/3298] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_qp.c.o'.
FAILED: drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_qp.c.o
ccache gcc -Idrivers/a715181@@tmp_rte_common_qat@sta -Idrivers -I../drivers -Idrivers/common/qat -I../drivers/common/qat -I../drivers/common/qat/qat_adf -I../drivers/common/qat/../../crypto/qat -I../drivers/common/qat/../../compress/qat -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/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/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/compressdev -I../lib/compressdev -Ilib/security -I../lib/security -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DBUILD_QAT_SYM -DBUILD_QAT_ASYM -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -MD -MQ 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_qp.c.o' -MF 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_qp.c.o.d' -o 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_qp.c.o' -c ../drivers/common/qat/qat_qp.c
../drivers/common/qat/qat_qp.c: In function ‘qat_qp_setup’:
../drivers/common/qat/qat_qp.c:180:2: error: ‘qp’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
rte_free(qp);
^~~~~~~~~~~~
cc1: all warnings being treated as errors
[768/3298] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/compress_qat_qat_comp.c.o'.
[769/3298] Compiling C object 'lib/76b5a35@@rte_pipeline@sta/pipeline_rte_table_action.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-18.04-gcc-static-aarch64" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-18.04-gcc-shared-aarch64" at step Build and test
####################################################################################
[770/3511] Compiling C object 'drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_linux_mlx5_common_verbs.c.o'.
[771/3511] Compiling C object 'drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_mlx5_devx_cmds.c.o'.
[772/3511] Generating rte_common_mlx5_def with a custom command.
[773/3511] Linking static target drivers/libtmp_rte_common_mlx5.a.
[774/3511] Generating rte_common_mlx5_mingw with a custom command.
[775/3511] Generating rte_raw_dpaa2_cmdif_mingw with a custom command.
[776/3511] Generating rte_common_mlx5.pmd.c with a custom command.
[777/3511] Compiling C object 'drivers/a715181@@rte_common_mlx5@sta/meson-generated_.._rte_common_mlx5.pmd.c.o'.
[778/3511] Linking static target drivers/librte_common_mlx5.a.
[779/3511] Compiling C object 'drivers/a715181@@rte_common_mlx5@sha/meson-generated_.._rte_common_mlx5.pmd.c.o'.
[780/3511] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_device.c.o'.
[781/3511] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_dev_qat_dev_gen3.c.o'.
[782/3511] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_dev_qat_dev_gen4.c.o'.
[783/3511] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_qp.c.o'.
FAILED: drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_qp.c.o
ccache gcc -Idrivers/a715181@@tmp_rte_common_qat@sta -Idrivers -I../drivers -Idrivers/common/qat -I../drivers/common/qat -I../drivers/common/qat/qat_adf -I../drivers/common/qat/../../crypto/qat -I../drivers/common/qat/../../compress/qat -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/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/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/compressdev -I../lib/compressdev -Ilib/security -I../lib/security -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=corei7 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DBUILD_QAT_SYM -DBUILD_QAT_ASYM -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -MD -MQ 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_qp.c.o' -MF 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_qp.c.o.d' -o 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_qp.c.o' -c ../drivers/common/qat/qat_qp.c
../drivers/common/qat/qat_qp.c: In function ‘qat_qp_setup’:
../drivers/common/qat/qat_qp.c:180:2: error: ‘qp’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
rte_free(qp);
^~~~~~~~~~~~
cc1: all warnings being treated as errors
[784/3511] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/compress_qat_qat_comp.c.o'.
[785/3511] Compiling C object 'lib/76b5a35@@rte_pipeline@sta/pipeline_rte_table_action.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-18.04-gcc-shared-aarch64" at step Build and test
####################################################################################
--------------------------------END LOGS-----------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-10-14 16:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20211014161137.1405168-11-roy.fan.zhang@intel.com>
2021-10-14 16:21 ` [dpdk-test-report] |WARNING| pw101657 [dpdk-dev v3 10/10] common/qat: unify naming conventions in qat functions checkpatch
2021-10-14 16:59 ` [dpdk-test-report] |FAILURE| pw101657 [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).