* |SUCCESS| pw130870 [PATCH] vhost: avoid potential null pointer access
[not found] <20230830084708.754084-1-fengli@smartx.com>
@ 2023-08-30 8:41 ` qemudev
2023-08-30 8:45 ` qemudev
` (2 subsequent siblings)
3 siblings, 0 replies; 4+ messages in thread
From: qemudev @ 2023-08-30 8:41 UTC (permalink / raw)
To: test-report
Test-Label: loongarch-compilation
Test-Status: SUCCESS
http://dpdk.org/patch/130870
_Compilation OK_
Submitter: Li Feng <fengli@smartx.com>
Date: Wed, 30 Aug 2023 16:47:08 +0800
DPDK git baseline: Repo:dpdk-next-virtio
Branch: main
CommitID: fbafb3676c482dab60c0b5465b47f2ea33893a36
130870 --> meson & ninja build successfully
Test environment and result as below:
+---------------------+----------------+
| Environment | compilation |
+---------------------+----------------+
| Loongnix-Server 8.3 | PASS |
+---------------------+----------------+
Loongnix-Server 8.3
Kernel: 4.19.190+
Compiler: gcc 8.3
^ permalink raw reply [flat|nested] 4+ messages in thread
* |SUCCESS| pw130870 [PATCH] vhost: avoid potential null pointer access
[not found] <20230830084708.754084-1-fengli@smartx.com>
2023-08-30 8:41 ` |SUCCESS| pw130870 [PATCH] vhost: avoid potential null pointer access qemudev
@ 2023-08-30 8:45 ` qemudev
2023-08-30 8:47 ` checkpatch
2023-08-30 9:39 ` |FAILURE| " 0-day Robot
3 siblings, 0 replies; 4+ messages in thread
From: qemudev @ 2023-08-30 8:45 UTC (permalink / raw)
To: test-report
Test-Label: loongarch-unit-testing
Test-Status: SUCCESS
http://dpdk.org/patch/130870
_Unit Testing PASS_
Submitter: Li Feng <fengli@smartx.com>
Date: Wed, 30 Aug 2023 16:47:08 +0800
DPDK git baseline: Repo:dpdk-next-virtio
Branch: main
CommitID: fbafb3676c482dab60c0b5465b47f2ea33893a36
130870 --> testing pass
Test environment and result as below:
+---------------------+----------------+
| Environment | dpdk_unit_test |
+---------------------+----------------+
| Loongnix-Server 8.3 | PASS |
+---------------------+----------------+
Loongnix-Server 8.3
Kernel: 4.19.190+
Compiler: gcc 8.3
Test result details:
1/107 DPDK:fast-tests / acl_autotest OK 2.82s
2/107 DPDK:fast-tests / atomic_autotest OK 7.03s
3/107 DPDK:fast-tests / bitmap_autotest OK 0.07s
4/107 DPDK:fast-tests / bpf_autotest OK 0.07s
5/107 DPDK:fast-tests / bpf_convert_autotest OK 0.07s
6/107 DPDK:fast-tests / bitops_autotest OK 0.07s
7/107 DPDK:fast-tests / byteorder_autotest OK 0.07s
8/107 DPDK:fast-tests / cksum_autotest OK 0.07s
9/107 DPDK:fast-tests / cmdline_autotest OK 0.07s
10/107 DPDK:fast-tests / common_autotest OK 0.92s
11/107 DPDK:fast-tests / cpuflags_autotest OK 0.07s
12/107 DPDK:fast-tests / debug_autotest OK 0.97s
13/107 DPDK:fast-tests / devargs_autotest OK 0.07s
14/107 DPDK:fast-tests / eal_flags_c_opt_autotest OK 1.27s
15/107 DPDK:fast-tests / eal_flags_main_opt_autotest OK 0.32s
16/107 DPDK:fast-tests / eal_flags_n_opt_autotest OK 0.27s
17/107 DPDK:fast-tests / eal_flags_hpet_autotest OK 0.17s
18/107 DPDK:fast-tests / eal_flags_no_huge_autotest OK 0.32s
19/107 DPDK:fast-tests / eal_flags_a_opt_autotest OK 0.42s
20/107 DPDK:fast-tests / eal_flags_b_opt_autotest OK 0.37s
21/107 DPDK:fast-tests / eal_flags_vdev_opt_autotest OK 0.27s
22/107 DPDK:fast-tests / eal_flags_r_opt_autotest OK 0.27s
23/107 DPDK:fast-tests / eal_flags_mem_autotest OK 0.72s
24/107 DPDK:fast-tests / eal_flags_file_prefix_autotest OK 22.51s
25/107 DPDK:fast-tests / eal_flags_misc_autotest OK 1.17s
26/107 DPDK:fast-tests / eal_fs_autotest OK 0.07s
27/107 DPDK:fast-tests / errno_autotest OK 0.07s
28/107 DPDK:fast-tests / ethdev_link_status OK 0.07s
29/107 DPDK:fast-tests / event_ring_autotest OK 0.07s
30/107 DPDK:fast-tests / fib_autotest OK 0.87s
31/107 DPDK:fast-tests / fib6_autotest OK 0.92s
32/107 DPDK:fast-tests / func_reentrancy_autotest OK 2.17s
33/107 DPDK:fast-tests / hash_autotest OK 1.02s
34/107 DPDK:fast-tests / interrupt_autotest OK 1.42s
35/107 DPDK:fast-tests / ipfrag_autotest OK 0.12s
36/107 DPDK:fast-tests / lcores_autotest OK 5.13s
37/107 DPDK:fast-tests / logs_autotest OK 0.07s
38/107 DPDK:fast-tests / lpm_autotest OK 5.95s
39/107 DPDK:fast-tests / lpm6_autotest OK 8.91s
40/107 DPDK:fast-tests / malloc_autotest OK 64.35s
41/107 DPDK:fast-tests / mbuf_autotest OK 5.22s
42/107 DPDK:fast-tests / mcslock_autotest OK 2.87s
43/107 DPDK:fast-tests / memcpy_autotest OK 6.68s
44/107 DPDK:fast-tests / memory_autotest OK 0.12s
45/107 DPDK:fast-tests / mempool_autotest OK 0.47s
46/107 DPDK:fast-tests / memzone_autotest OK 0.17s
47/107 DPDK:fast-tests / meter_autotest OK 0.07s
48/107 DPDK:fast-tests / multiprocess_autotest OK 0.27s
49/107 DPDK:fast-tests / per_lcore_autotest OK 0.17s
50/107 DPDK:fast-tests / pflock_autotest OK 0.92s
51/107 DPDK:fast-tests / prefetch_autotest OK 0.07s
52/107 DPDK:fast-tests / rcu_qsbr_autotest OK 0.62s
53/107 DPDK:fast-tests / pie_autotest OK 0.07s
54/107 DPDK:fast-tests / rib_autotest OK 10.34s
55/107 DPDK:fast-tests / rib6_autotest OK 10.34s
56/107 DPDK:fast-tests / ring_autotest OK 0.12s
57/107 DPDK:fast-tests / rwlock_test1_autotest OK 0.82s
58/107 DPDK:fast-tests / rwlock_rda_autotest OK 5.07s
59/107 DPDK:fast-tests / rwlock_rds_wrm_autotest OK 5.08s
60/107 DPDK:fast-tests / rwlock_rde_wro_autotest OK 5.07s
61/107 DPDK:fast-tests / sched_autotest OK 0.07s
62/107 DPDK:fast-tests / security_autotest OK 0.07s
63/107 DPDK:fast-tests / seqlock_autotest OK 2.07s
64/107 DPDK:fast-tests / spinlock_autotest OK 0.17s
65/107 DPDK:fast-tests / stack_autotest OK 0.87s
66/107 DPDK:fast-tests / stack_lf_autotest SKIP 0.07s exit status 77
67/107 DPDK:fast-tests / string_autotest OK 0.07s
68/107 DPDK:fast-tests / tailq_autotest OK 0.07s
69/107 DPDK:fast-tests / ticketlock_autotest OK 0.22s
70/107 DPDK:fast-tests / timer_autotest OK 3.87s
71/107 DPDK:fast-tests / user_delay_us OK 0.07s
72/107 DPDK:fast-tests / version_autotest OK 0.07s
73/107 DPDK:fast-tests / crc_autotest OK 0.07s
74/107 DPDK:fast-tests / distributor_autotest OK 1.22s
75/107 DPDK:fast-tests / eventdev_common_autotest OK 0.07s
76/107 DPDK:fast-tests / fbarray_autotest OK 0.12s
77/107 DPDK:fast-tests / hash_readwrite_func_autotest OK 6.44s
78/107 DPDK:fast-tests / ipsec_autotest SKIP 0.12s exit status 77
79/107 DPDK:fast-tests / kni_autotest SKIP 0.07s exit status 77
80/107 DPDK:fast-tests / kvargs_autotest OK 0.12s
81/107 DPDK:fast-tests / member_autotest OK 1.27s
82/107 DPDK:fast-tests / power_cpufreq_autotest SKIP 0.07s exit status 77
83/107 DPDK:fast-tests / power_autotest OK 0.07s
84/107 DPDK:fast-tests / power_kvm_vm_autotest SKIP 0.07s exit status 77
85/107 DPDK:fast-tests / power_intel_uncore_autotest SKIP 0.07s exit status 77
86/107 DPDK:fast-tests / reorder_autotest OK 0.12s
87/107 DPDK:fast-tests / service_autotest OK 2.82s
88/107 DPDK:fast-tests / thash_autotest OK 0.07s
89/107 DPDK:fast-tests / threads_autotest OK 0.27s
90/107 DPDK:fast-tests / trace_autotest OK 0.07s
91/107 DPDK:fast-tests / trace_autotest_with_traces OK 0.12s
92/107 DPDK:fast-tests / graph_autotest OK 0.07s
93/107 DPDK:fast-tests / node_list_dump OK 0.07s
94/107 DPDK:fast-tests / metrics_autotest OK 0.07s
95/107 DPDK:fast-tests / telemetry_json_autotest OK 0.07s
96/107 DPDK:fast-tests / telemetry_data_autotest OK 0.07s
97/107 DPDK:fast-tests / table_autotest OK 10.30s
98/107 DPDK:fast-tests / ring_pmd_autotest OK 0.07s
99/107 DPDK:fast-tests / event_eth_tx_adapter_autotest OK 1.72s
100/107 DPDK:fast-tests / bitratestats_autotest OK 0.07s
101/107 DPDK:fast-tests / latencystats_autotest OK 0.07s
102/107 DPDK:fast-tests / pdump_autotest OK 5.22s
103/107 DPDK:fast-tests / vdev_autotest OK 0.07s
104/107 DPDK:fast-tests / rawdev_autotest OK 0.07s
105/107 DPDK:fast-tests / pdcp_autotest SKIP 0.07s exit status 77
106/107 DPDK:fast-tests / compressdev_autotest SKIP 0.07s exit status 77
107/107 DPDK:fast-tests / telemetry_all OK 17.35s
Ok: 99
Expected Fail: 0
Fail: 0
Unexpected Pass: 0
Skipped: 8
Timeout: 0
^ permalink raw reply [flat|nested] 4+ messages in thread
* |SUCCESS| pw130870 [PATCH] vhost: avoid potential null pointer access
[not found] <20230830084708.754084-1-fengli@smartx.com>
2023-08-30 8:41 ` |SUCCESS| pw130870 [PATCH] vhost: avoid potential null pointer access qemudev
2023-08-30 8:45 ` qemudev
@ 2023-08-30 8:47 ` checkpatch
2023-08-30 9:39 ` |FAILURE| " 0-day Robot
3 siblings, 0 replies; 4+ messages in thread
From: checkpatch @ 2023-08-30 8:47 UTC (permalink / raw)
To: test-report
Test-Label: checkpatch
Test-Status: SUCCESS
http://dpdk.org/patch/130870
_coding style OK_
^ permalink raw reply [flat|nested] 4+ messages in thread
* |FAILURE| pw130870 [PATCH] vhost: avoid potential null pointer access
[not found] <20230830084708.754084-1-fengli@smartx.com>
` (2 preceding siblings ...)
2023-08-30 8:47 ` checkpatch
@ 2023-08-30 9:39 ` 0-day Robot
3 siblings, 0 replies; 4+ messages in thread
From: 0-day Robot @ 2023-08-30 9:39 UTC (permalink / raw)
To: test-report; +Cc: fengli, robot
From: robot@bytheb.org
Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/130870/
_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/6022779629
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-20.04-gcc-debug+doc+examples+tests" failed at step Build and test
"ubuntu-20.04-clang-asan+doc+tests" failed at step Build and test
"ubuntu-20.04-gcc-static-i386" failed at step Build and test
"ubuntu-20.04-gcc-shared-aarch64" failed at step Build and test
"ubuntu-20.04-gcc-ppc64le" failed at step Build and test
"ubuntu-20.04-gcc-riscv64" failed at step Build and test
"fedora:37-gcc" failed at step Build
"fedora:37-clang" failed at step Build
----------------------End summary of failed steps--------------------
-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-debug+doc+examples+tests" at step Build and test
####################################################################################
ccache gcc -Ilib/76b5a35@@rte_vhost@sta -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/log -I../lib/log -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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 -fPIC -march=corei7 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ 'lib/76b5a35@@rte_vhost@sta/vhost_socket.c.o' -MF 'lib/76b5a35@@rte_vhost@sta/vhost_socket.c.o.d' -o 'lib/76b5a35@@rte_vhost@sta/vhost_socket.c.o' -c ../lib/vhost/socket.c
In file included from ../lib/vhost/vduse.h:8,
from ../lib/vhost/socket.c:21:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:9: error: ‘return’ with a value, in function returning void [-Werror=return-type]
1040 | return 0;
| ^
../lib/vhost/vhost.h:1027:1: note: declared here
1027 | restore_mbuf(struct rte_mbuf *m)
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[416/3814] Compiling C object 'lib/76b5a35@@rte_vhost@sta/vhost_vdpa.c.o'.
FAILED: lib/76b5a35@@rte_vhost@sta/vhost_vdpa.c.o
ccache gcc -Ilib/76b5a35@@rte_vhost@sta -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/log -I../lib/log -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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 -fPIC -march=corei7 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ 'lib/76b5a35@@rte_vhost@sta/vhost_vdpa.c.o' -MF 'lib/76b5a35@@rte_vhost@sta/vhost_vdpa.c.o.d' -o 'lib/76b5a35@@rte_vhost@sta/vhost_vdpa.c.o' -c ../lib/vhost/vdpa.c
In file included from ../lib/vhost/vdpa.c:21:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:9: error: ‘return’ with a value, in function returning void [-Werror=return-type]
1040 | return 0;
| ^
../lib/vhost/vhost.h:1027:1: note: declared here
1027 | restore_mbuf(struct rte_mbuf *m)
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-debug+doc+examples+tests" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-clang-asan+doc+tests" at step Build and test
####################################################################################
[415/3814] Compiling C object 'lib/76b5a35@@rte_vhost@sta/vhost_socket.c.o'.
FAILED: lib/76b5a35@@rte_vhost@sta/vhost_socket.c.o
ccache clang -Ilib/76b5a35@@rte_vhost@sta -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/log -I../lib/log -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -Xclang -fcolor-diagnostics -fsanitize=address -fno-omit-frame-pointer -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=corei7 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DVHOST_CLANG_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ 'lib/76b5a35@@rte_vhost@sta/vhost_socket.c.o' -MF 'lib/76b5a35@@rte_vhost@sta/vhost_socket.c.o.d' -o 'lib/76b5a35@@rte_vhost@sta/vhost_socket.c.o' -c ../lib/vhost/socket.c
In file included from ../lib/vhost/socket.c:21:
In file included from ../lib/vhost/vduse.h:8:
../lib/vhost/vhost.h:1018:1: error: non-void function does not return a value in all control paths [-Werror,-Wreturn-type]
}
^
../lib/vhost/vhost.h:1040:2: error: void function 'restore_mbuf' should not return a value [-Wreturn-type]
return 0;
^ ~
2 errors generated.
[416/3814] Compiling C object 'lib/76b5a35@@rte_vhost@sta/vhost_vdpa.c.o'.
FAILED: lib/76b5a35@@rte_vhost@sta/vhost_vdpa.c.o
ccache clang -Ilib/76b5a35@@rte_vhost@sta -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/log -I../lib/log -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -Xclang -fcolor-diagnostics -fsanitize=address -fno-omit-frame-pointer -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=corei7 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DVHOST_CLANG_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ 'lib/76b5a35@@rte_vhost@sta/vhost_vdpa.c.o' -MF 'lib/76b5a35@@rte_vhost@sta/vhost_vdpa.c.o.d' -o 'lib/76b5a35@@rte_vhost@sta/vhost_vdpa.c.o' -c ../lib/vhost/vdpa.c
In file included from ../lib/vhost/vdpa.c:21:
../lib/vhost/vhost.h:1018:1: error: non-void function does not return a value in all control paths [-Werror,-Wreturn-type]
}
^
../lib/vhost/vhost.h:1040:2: error: void function 'restore_mbuf' should not return a value [-Wreturn-type]
return 0;
^ ~
2 errors generated.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-clang-asan+doc+tests" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-static-i386" at step Build and test
####################################################################################
from ../lib/vhost/iotlb.c:11:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:9: error: ‘return’ with a value, in function returning void [-Werror=return-type]
1040 | return 0;
| ^
../lib/vhost/vhost.h:1027:1: note: declared here
1027 | restore_mbuf(struct rte_mbuf *m)
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[402/3073] Linking target lib/librte_security.so.24.0.
[403/3073] Compiling C object 'lib/76b5a35@@rte_vhost@sta/vhost_socket.c.o'.
FAILED: lib/76b5a35@@rte_vhost@sta/vhost_socket.c.o
ccache gcc -Ilib/76b5a35@@rte_vhost@sta -Ilib -I../lib -Ilib/vhost -I../lib/vhost -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/log -I../lib/log -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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 -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=corei7 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ 'lib/76b5a35@@rte_vhost@sta/vhost_socket.c.o' -MF 'lib/76b5a35@@rte_vhost@sta/vhost_socket.c.o.d' -o 'lib/76b5a35@@rte_vhost@sta/vhost_socket.c.o' -c ../lib/vhost/socket.c
In file included from ../lib/vhost/vduse.h:8,
from ../lib/vhost/socket.c:21:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:9: error: ‘return’ with a value, in function returning void [-Werror=return-type]
1040 | return 0;
| ^
../lib/vhost/vhost.h:1027:1: note: declared here
1027 | restore_mbuf(struct rte_mbuf *m)
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-static-i386" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-shared-aarch64" at step Build and test
####################################################################################
from ../lib/vhost/iotlb.c:11:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:9: error: ‘return’ with a value, in function returning void [-Werror=return-type]
1040 | return 0;
| ^
../lib/vhost/vhost.h:1027:1: note: declared here
1027 | restore_mbuf(struct rte_mbuf *m)
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[400/3983] Compiling C object 'lib/76b5a35@@rte_vhost@sta/vhost_socket.c.o'.
FAILED: lib/76b5a35@@rte_vhost@sta/vhost_socket.c.o
ccache aarch64-linux-gnu-gcc -Ilib/76b5a35@@rte_vhost@sta -Ilib -I../lib -Ilib/vhost -I../lib/vhost -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/arm/include -I../lib/eal/arm/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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 -fPIC -march=armv8-a+crc -moutline-atomics -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ 'lib/76b5a35@@rte_vhost@sta/vhost_socket.c.o' -MF 'lib/76b5a35@@rte_vhost@sta/vhost_socket.c.o.d' -o 'lib/76b5a35@@rte_vhost@sta/vhost_socket.c.o' -c ../lib/vhost/socket.c
In file included from ../lib/vhost/vduse.h:8,
from ../lib/vhost/socket.c:21:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:9: error: ‘return’ with a value, in function returning void [-Werror=return-type]
1040 | return 0;
| ^
../lib/vhost/vhost.h:1027:1: note: declared here
1027 | restore_mbuf(struct rte_mbuf *m)
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[401/3983] Generating symbol file 'lib/76b5a35@@rte_stack@sha/librte_stack.so.24.0.symbols'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-shared-aarch64" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-ppc64le" at step Build and test
####################################################################################
ccache powerpc64le-linux-gnu-gcc -Ilib/76b5a35@@rte_vhost@sta -Ilib -I../lib -Ilib/vhost -I../lib/vhost -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/ppc/include -I../lib/eal/ppc/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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 -fPIC -mcpu=power8 -mtune=power8 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ 'lib/76b5a35@@rte_vhost@sta/vhost_vdpa.c.o' -MF 'lib/76b5a35@@rte_vhost@sta/vhost_vdpa.c.o.d' -o 'lib/76b5a35@@rte_vhost@sta/vhost_vdpa.c.o' -c ../lib/vhost/vdpa.c
In file included from ../lib/vhost/vdpa.c:21:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:9: error: ‘return’ with a value, in function returning void [-Werror=return-type]
1040 | return 0;
| ^
../lib/vhost/vhost.h:1027:1: note: declared here
1027 | restore_mbuf(struct rte_mbuf *m)
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[399/3290] Compiling C object 'lib/76b5a35@@rte_vhost@sta/vhost_socket.c.o'.
FAILED: lib/76b5a35@@rte_vhost@sta/vhost_socket.c.o
ccache powerpc64le-linux-gnu-gcc -Ilib/76b5a35@@rte_vhost@sta -Ilib -I../lib -Ilib/vhost -I../lib/vhost -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/ppc/include -I../lib/eal/ppc/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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 -fPIC -mcpu=power8 -mtune=power8 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ 'lib/76b5a35@@rte_vhost@sta/vhost_socket.c.o' -MF 'lib/76b5a35@@rte_vhost@sta/vhost_socket.c.o.d' -o 'lib/76b5a35@@rte_vhost@sta/vhost_socket.c.o' -c ../lib/vhost/socket.c
In file included from ../lib/vhost/vduse.h:8,
from ../lib/vhost/socket.c:21:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:9: error: ‘return’ with a value, in function returning void [-Werror=return-type]
1040 | return 0;
| ^
../lib/vhost/vhost.h:1027:1: note: declared here
1027 | restore_mbuf(struct rte_mbuf *m)
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-ppc64le" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-riscv64" at step Build and test
####################################################################################
ccache riscv64-linux-gnu-gcc -Ilib/76b5a35@@rte_vhost@sta -Ilib -I../lib -Ilib/vhost -I../lib/vhost -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/riscv/include -I../lib/eal/riscv/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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 -fPIC -march=rv64gc -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ 'lib/76b5a35@@rte_vhost@sta/vhost_vdpa.c.o' -MF 'lib/76b5a35@@rte_vhost@sta/vhost_vdpa.c.o.d' -o 'lib/76b5a35@@rte_vhost@sta/vhost_vdpa.c.o' -c ../lib/vhost/vdpa.c
In file included from ../lib/vhost/vdpa.c:21:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:9: error: ‘return’ with a value, in function returning void [-Werror=return-type]
1040 | return 0;
| ^
../lib/vhost/vhost.h:1027:1: note: declared here
1027 | restore_mbuf(struct rte_mbuf *m)
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[399/3262] Compiling C object 'lib/76b5a35@@rte_vhost@sta/vhost_socket.c.o'.
FAILED: lib/76b5a35@@rte_vhost@sta/vhost_socket.c.o
ccache riscv64-linux-gnu-gcc -Ilib/76b5a35@@rte_vhost@sta -Ilib -I../lib -Ilib/vhost -I../lib/vhost -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/riscv/include -I../lib/eal/riscv/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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 -fPIC -march=rv64gc -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ 'lib/76b5a35@@rte_vhost@sta/vhost_socket.c.o' -MF 'lib/76b5a35@@rte_vhost@sta/vhost_socket.c.o.d' -o 'lib/76b5a35@@rte_vhost@sta/vhost_socket.c.o' -c ../lib/vhost/socket.c
In file included from ../lib/vhost/vduse.h:8,
from ../lib/vhost/socket.c:21:
../lib/vhost/vhost.h: In function ‘restore_mbuf’:
../lib/vhost/vhost.h:1040:9: error: ‘return’ with a value, in function returning void [-Werror=return-type]
1040 | return 0;
| ^
../lib/vhost/vhost.h:1027:1: note: declared here
1027 | restore_mbuf(struct rte_mbuf *m)
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-riscv64" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "fedora:37-gcc" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:37-gcc" at step Build
####################################################################################
####################################################################################
#### [Begin job log] "fedora:37-clang" at step Build
####################################################################################
####################################################################################
#### [End job log] "fedora:37-clang" at step Build
####################################################################################
--------------------------------END LOGS-----------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-08-30 9:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20230830084708.754084-1-fengli@smartx.com>
2023-08-30 8:41 ` |SUCCESS| pw130870 [PATCH] vhost: avoid potential null pointer access qemudev
2023-08-30 8:45 ` qemudev
2023-08-30 8:47 ` checkpatch
2023-08-30 9:39 ` |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).