* [dpdk-test-report] |FAILURE| pw(89507) [v1, 6/6] raw/ioat: add bus driver for device scanning automatically
@ 2021-03-20 1:03 sys_stv
0 siblings, 0 replies; only message in thread
From: sys_stv @ 2021-03-20 1:03 UTC (permalink / raw)
To: test-report
[-- Attachment #1: Type: text/plain, Size: 19874 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/89507
_Compilation issues_
Submitter: Bruce Richardson <bruce.richardson@intel.com>
Date: 2021-03-18 18:20:42
Reply_mail: 20210318182042.43658-7-bruce.richardson@intel.com
DPDK git baseline: Repo:dpdk, CommitID: 643752207964b2abd0863d9b3dc7522a40469ba0
Meson Build Summary: 22 Builds Done, 17 Successful, 5 Failures, 0 Blocked
+------------------+------------+--------------+------------+------------+-----------+----------+
| os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document |
+------------------+------------+--------------+------------+------------+-----------+----------+
| UB2004-64 | pass | FAIL | pass | | | pass |
| RHEL83-64 | pass | | | | | |
| FC33-64 | pass | FAIL | | | | |
| CentOsStream8-64 | pass | | | | | |
| UB2010-64 | pass | | | | | |
| WIN10-64 | | pass | | | | |
| UB2004-32 | pass | | | | | |
| CENTOS83-64 | pass | FAIL | pass | pass | pass | |
| FreeBSD1201-64 | pass | FAIL | | pass | pass | |
| SUSE15-64 | pass | FAIL | | | | |
+------------------+------------+--------------+------------+------------+-----------+----------+
Test environment and configuration as below:
OS: UB2004-64
Kernel Version: 5.6.0-050600-generic
GCC Version: gcc (Ubuntu 10-20200416-0ubuntu1) 10.0.1 20200416 (experimental) [master revision 3c3f12e2a76:dcee354ce56:44b326839d864fc10c459916abcc97f35a9ac3de]
Clang Version: 10.0.0-4ubuntu1
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-icc
x86_64-native-linuxapp-doc
OS: RHEL83-64
Kernel Version: 4.18.0-240.el8.x86_64
GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
Clang Version: 10.0.1 (Red Hat 10.0.1-1.module+el8.3.0+7459+90c24896)
x86_64-native-linuxapp-gcc
OS: FC33-64
Kernel Version: 5.8.16-300.fc33.x86_64
GCC Version: gcc (GCC) 10.2.1 20201005 (Red Hat 10.2.1-5)
Clang Version: 11.0.0 (Fedora 11.0.0-1.fc33)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
OS: CentOsStream8-64
Kernel Version: 4.18.0-257.el8.x86_64
GCC Version: gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1)
Clang Version: 11.0.0 (Red Hat 11.0.0-0.2.rc2.module_el8.4.0+533+50191577)
x86_64-native-linuxapp-gcc
OS: UB2010-64
Kernel Version: 5.8.0-25-generic
GCC Version: gcc (Ubuntu 10.2.0-13ubuntu1) 10.2.0
Clang Version: 11.0.0-2
x86_64-native-linuxapp-gcc
OS: WIN10-64
Kernel Version: N/A
GCC Version: N/A
Clang Version: Clang 8.0.0
x86_64-windows-clang
OS: UB2004-32
Kernel Version: 5.6.0-050600-generic
GCC Version: gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0
Clang Version: 10.0.0-4ubuntu1
i686-native-linuxapp-gcc
OS: CENTOS83-64
Kernel Version: 4.18.0-240.1.1.el8_3.x86_64
GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
Clang Version: 10.0.1 (Red Hat 10.0.1-1.module_el8.3.0+467+cb298d5b)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-icc
x86_64-native-linuxapp-gcc+shared
x86_64-native-linuxapp-gcc+debug
OS: FreeBSD1201-64
Kernel Version: 12.1-RELEASE
GCC Version: gcc (FreeBSD Ports Collection) 9.2.0
Clang Version: 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
x86_64-native-bsdapp-gcc
x86_64-native-bsdapp-clang
x86_64-native-bsdapp-gcc+shared
x86_64-native-bsdapp-gcc+debug
OS: SUSE15-64
Kernel Version: 5.3.18-lp152.57-default
GCC Version: gcc (SUSE Linux) 7.5.0
Clang Version: 9.0.1
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc
*Build Failed #1:
OS: CENTOS83-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_bus.c.o
clang -Idrivers/libtmp_rte_raw_ioat.a.p -Idrivers -I../drivers -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -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=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -MD -MQ drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_bus.c.o -MF drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_bus.c.o.d -o drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_bus.c.o -c ../drivers/raw/ioat/idxd_bus.c
../drivers/raw/ioat/idxd_bus.c:182:6: error: variable 'ret' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
if (fscanf(f, "%d", value) != 1) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/raw/ioat/idxd_bus.c:189:9: note: uninitialized use occurs here
return ret;
^~~
../drivers/raw/ioat/idxd_bus.c:182:2: note: remove the 'if' if its condition is always true
if (fscanf(f, "%d", value) != 1) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/raw/ioat/idxd_bus.c:171:9: note: initialize the variable 'ret' to silence this warning
int ret;
^
= 0
1 error generated.
[1904/2848] Compiling C object drivers/libtmp_rte_raw_ifpga.a.p/raw_ifpga_ifpga_rawdev.c.o
[1905/2848] Compiling C object drivers/libtmp_rte_raw_octeontx2_dma.a.p/raw_octeontx2_dma_otx2_dpi_msg.c.o
[1906/2848] Compiling C object drivers/libtmp_rte_raw_octeontx2_dma.a.p/raw_octeontx2_dma_otx2_dpi_test.c.o
[1907/2848] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev_test.c.o
[1908/2848] Compiling C object drivers/libtmp_rte_raw_octeontx2_dma.a.p/raw_octeontx2_dma_otx2_dpi_rawdev.c.o
[1909/2848] Compiling C object drivers/libtmp_rte_raw_octeontx2_ep.a.p/raw_octeontx2_ep_otx2_ep_rawdev.c.o
[1910/2848] Compiling C object drivers/libtmp_rte_raw_octeontx2_ep.a.p/raw_octeontx2_ep_otx2_ep_test.c.o
[1911/2848] Compiling C object drivers/libtmp_rte_raw_octeontx2_ep.a.p/raw_octeontx2_ep_otx2_ep_enqdeq.c.o
[1912/2848] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb.c.o
ninja: build stopped
*Build Failed #2:
OS: FC33-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_bus.c.o
clang -Idrivers/libtmp_rte_raw_ioat.a.p -Idrivers -I../drivers -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -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=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -MD -MQ drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_bus.c.o -MF drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_bus.c.o.d -o drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_bus.c.o -c ../drivers/raw/ioat/idxd_bus.c
../drivers/raw/ioat/idxd_bus.c:182:6: error: variable 'ret' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
if (fscanf(f, "%d", value) != 1) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/raw/ioat/idxd_bus.c:189:9: note: uninitialized use occurs here
return ret;
^~~
../drivers/raw/ioat/idxd_bus.c:182:2: note: remove the 'if' if its condition is always true
if (fscanf(f, "%d", value) != 1) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/raw/ioat/idxd_bus.c:171:9: note: initialize the variable 'ret' to silence this warning
int ret;
^
= 0
1 error generated.
[1897/2847] Compiling C object drivers/libtmp_rte_raw_ifpga.a.p/raw_ifpga_ifpga_rawdev.c.o
[1898/2847] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev_test.c.o
[1899/2847] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_pci.c.o
[1900/2847] Compiling C object drivers/libtmp_rte_raw_octeontx2_ep.a.p/raw_octeontx2_ep_otx2_ep_rawdev.c.o
[1901/2847] Compiling C object drivers/libtmp_rte_raw_octeontx2_dma.a.p/raw_octeontx2_dma_otx2_dpi_msg.c.o
[1902/2847] Compiling C object drivers/libtmp_rte_raw_octeontx2_dma.a.p/raw_octeontx2_dma_otx2_dpi_test.c.o
[1903/2847] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb.c.o
[1904/2847] Compiling C object drivers/libtmp_rte_raw_octeontx2_dma.a.p/raw_octeontx2_dma_otx2_dpi_rawdev.c.o
[1905/2847] Compiling C object drivers/libtmp_rte_raw_octeontx2_ep.a.p/raw_octeontx2_ep_otx2_ep_enqdeq.c.o
ninja: build stopped
*Build Failed #3:
OS: FreeBSD1201-64
Target: x86_64-native-bsdapp-clang
FAILED: drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_bus.c.o
clang -Idrivers/libtmp_rte_raw_ioat.a.p -Idrivers -I../drivers -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/freebsd/include -I../lib/librte_eal/freebsd/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -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 -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -MD -MQ drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_bus.c.o -MF drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_bus.c.o.d -o drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_bus.c.o -c ../drivers/raw/ioat/idxd_bus.c
../drivers/raw/ioat/idxd_bus.c:182:6: error: variable 'ret' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
if (fscanf(f, "%d", value) != 1) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/raw/ioat/idxd_bus.c:189:9: note: uninitialized use occurs here
return ret;
^~~
../drivers/raw/ioat/idxd_bus.c:182:2: note: remove the 'if' if its condition is always true
if (fscanf(f, "%d", value) != 1) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/raw/ioat/idxd_bus.c:171:9: note: initialize the variable 'ret' to silence this warning
int ret;
^
= 0
1 error generated.
[1386/2054] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o
[1387/2054] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_common.c.o
[1388/2054] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx.c.o
[1389/2054] Compiling C object drivers/libtmp_rte_net_vmxnet3.a.p/net_vmxnet3_vmxnet3_rxtx.c.o
[1390/2054] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev.c.o
ninja: build stopped
*Build Failed #4:
OS: SUSE15-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_bus.c.o
clang -Idrivers/libtmp_rte_raw_ioat.a.p -Idrivers -I../drivers -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -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=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -MD -MQ drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_bus.c.o -MF drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_bus.c.o.d -o drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_bus.c.o -c ../drivers/raw/ioat/idxd_bus.c
../drivers/raw/ioat/idxd_bus.c:182:6: error: variable 'ret' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
if (fscanf(f, "%d", value) != 1) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/raw/ioat/idxd_bus.c:189:9: note: uninitialized use occurs here
return ret;
^~~
../drivers/raw/ioat/idxd_bus.c:182:2: note: remove the 'if' if its condition is always true
if (fscanf(f, "%d", value) != 1) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/raw/ioat/idxd_bus.c:171:9: note: initialize the variable 'ret' to silence this warning
int ret;
^
= 0
1 error generated.
[1907/2804] Generating rte_raw_ifpga.pmd.c with a custom command
[1908/2804] Compiling C object drivers/libtmp_rte_raw_octeontx2_dma.a.p/raw_octeontx2_dma_otx2_dpi_msg.c.o
[1909/2804] Compiling C object drivers/libtmp_rte_raw_octeontx2_ep.a.p/raw_octeontx2_ep_otx2_ep_vf.c.o
[1910/2804] Compiling C object drivers/libtmp_rte_raw_octeontx2_ep.a.p/raw_octeontx2_ep_otx2_ep_test.c.o
[1911/2804] Compiling C object drivers/libtmp_rte_raw_octeontx2_dma.a.p/raw_octeontx2_dma_otx2_dpi_test.c.o
[1912/2804] Compiling C object drivers/libtmp_rte_raw_octeontx2_ep.a.p/raw_octeontx2_ep_otx2_ep_rawdev.c.o
[1913/2804] Compiling C object drivers/libtmp_rte_raw_octeontx2_dma.a.p/raw_octeontx2_dma_otx2_dpi_rawdev.c.o
[1914/2804] Compiling C object drivers/libtmp_rte_raw_octeontx2_ep.a.p/raw_octeontx2_ep_otx2_ep_enqdeq.c.o
[1915/2804] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb.c.o
ninja: build stopped
*Build Failed #5:
OS: UB2004-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_bus.c.o
clang -Idrivers/libtmp_rte_raw_ioat.a.p -Idrivers -I../drivers -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -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=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -MD -MQ drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_bus.c.o -MF drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_bus.c.o.d -o drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_bus.c.o -c ../drivers/raw/ioat/idxd_bus.c
../drivers/raw/ioat/idxd_bus.c:182:6: error: variable 'ret' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
if (fscanf(f, "%d", value) != 1) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/raw/ioat/idxd_bus.c:189:9: note: uninitialized use occurs here
return ret;
^~~
../drivers/raw/ioat/idxd_bus.c:182:2: note: remove the 'if' if its condition is always true
if (fscanf(f, "%d", value) != 1) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/raw/ioat/idxd_bus.c:171:9: note: initialize the variable 'ret' to silence this warning
int ret;
^
= 0
1 error generated.
[1905/2834] Generating rte_raw_octeontx2_dma_def with a custom command
[1906/2834] Linking target drivers/librte_raw_dpaa2_qdma.so.21.2
[1907/2834] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_idxd_pci.c.o
[1908/2834] Compiling C object drivers/libtmp_rte_raw_ioat.a.p/raw_ioat_ioat_rawdev_test.c.o
[1909/2834] Compiling C object drivers/libtmp_rte_raw_ifpga.a.p/raw_ifpga_ifpga_rawdev.c.o
[1910/2834] Compiling C object drivers/libtmp_rte_raw_octeontx2_dma.a.p/raw_octeontx2_dma_otx2_dpi_msg.c.o
[1911/2834] Compiling C object drivers/libtmp_rte_raw_octeontx2_dma.a.p/raw_octeontx2_dma_otx2_dpi_test.c.o
[1912/2834] Compiling C object drivers/libtmp_rte_raw_octeontx2_dma.a.p/raw_octeontx2_dma_otx2_dpi_rawdev.c.o
[1913/2834] Compiling C object drivers/libtmp_rte_raw_ntb.a.p/raw_ntb_ntb.c.o
ninja: build stopped
DPDK STV team
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-03-20 1:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-20 1:03 [dpdk-test-report] |FAILURE| pw(89507) [v1, 6/6] raw/ioat: add bus driver for device scanning automatically sys_stv
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).