ec51918c07
home/clear/spdk/lib/idxd/idxd.c: In function ‘spdk_idxd_submit_copy’: /home/clear/spdk/lib/idxd/idxd.c:761:5: error: ‘src_nbytes’ may be used uninitialized in this function [-Werror=maybe-uninitialized] 761 | if (src_nbytes < nbytes || dst_nbytes < nbytes) { | ^ /home/clear/spdk/lib/idxd/idxd.c:761:26: error: ‘dst_nbytes’ may be used uninitialized in this function [-Werror=maybe-uninitialized] 761 | if (src_nbytes < nbytes || dst_nbytes < nbytes) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ LINK lvol_ut /home/clear/spdk/lib/idxd/idxd.c: In function ‘spdk_idxd_submit_dualcast’: /home/clear/spdk/lib/idxd/idxd.c:806:5: error: ‘src_nbytes’ may be used uninitialized in this function [-Werror=maybe-uninitialized] 806 | if (src_nbytes < nbytes || dst1_nbytes < nbytes || dst2_nbytes < nbytes) { | ^ /home/clear/spdk/lib/idxd/idxd.c:806:26: error: ‘dst1_nbytes’ may be used uninitialized in this function [-Werror=maybe-uninitialized] 806 | if (src_nbytes < nbytes || dst1_nbytes < nbytes || dst2_nbytes < nbytes) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /home/clear/spdk/lib/idxd/idxd.c:806:50: error: ‘dst2_nbytes’ may be used uninitialized in this function [-Werror=maybe-uninitialized] 806 | if (src_nbytes < nbytes || dst1_nbytes < nbytes || dst2_nbytes < nbytes) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /home/clear/spdk/lib/idxd/idxd.c: In function ‘spdk_idxd_submit_compare’: /home/clear/spdk/lib/idxd/idxd.c:845:5: error: ‘src1_nbytes’ may be used uninitialized in this function [-Werror=maybe-uninitialized] 845 | if (src1_nbytes < nbytes || src2_nbytes < nbytes) { | ^ /home/clear/spdk/lib/idxd/idxd.c:845:27: error: ‘src2_nbytes’ may be used uninitialized in this function [-Werror=maybe-uninitialized] 845 | if (src1_nbytes < nbytes || src2_nbytes < nbytes) { | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /home/clear/spdk/lib/idxd/idxd.c: In function ‘spdk_idxd_submit_fill’: /home/clear/spdk/lib/idxd/idxd.c:881:5: error: ‘dst_nbytes’ may be used uninitialized in this function [-Werror=maybe-uninitialized] 881 | if (dst_nbytes < nbytes) { | ^ /home/clear/spdk/lib/idxd/idxd.c: In function ‘spdk_idxd_submit_crc32c’: /home/clear/spdk/lib/idxd/idxd.c:919:5: error: ‘src_nbytes’ may be used uninitialized in this function [-Werror=maybe-uninitialized] 919 | if (src_nbytes < nbytes || dst_nbytes < nbytes) { | ^ /home/clear/spdk/lib/idxd/idxd.c:919:26: error: ‘dst_nbytes’ may be used uninitialized in this function [-Werror=maybe-uninitialized] 919 | if (src_nbytes < nbytes || dst_nbytes < nbytes) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ CC test/unit/lib/util/cpuset.c/cpuset_ut.o /home/clear/spdk/lib/idxd/idxd.c: In function ‘spdk_idxd_batch_prep_copy’: /home/clear/spdk/lib/idxd/idxd.c:1108:5: error: ‘src_nbytes’ may be used uninitialized in this function [-Werror=maybe-uninitialized] 1108 | if (src_nbytes < nbytes || dst_nbytes < nbytes) { | ^ /home/clear/spdk/lib/idxd/idxd.c:1108:26: error: ‘dst_nbytes’ may be used uninitialized in this function [-Werror=maybe-uninitialized] 1108 | if (src_nbytes < nbytes || dst_nbytes < nbytes) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/clear/spdk/lib/idxd/idxd.c: In function ‘spdk_idxd_batch_prep_fill’: /home/clear/spdk/lib/idxd/idxd.c:1142:5: error: ‘dst_nbytes’ may be used uninitialized in this function [-Werror=maybe-uninitialized] 1142 | if (dst_nbytes < nbytes) { | ^ /home/clear/spdk/lib/idxd/idxd.c: In function ‘spdk_idxd_batch_prep_crc32c’: /home/clear/spdk/lib/idxd/idxd.c:1218:5: error: ‘src_nbytes’ may be used uninitialized in this function [-Werror=maybe-uninitialized] 1218 | if (src_nbytes < nbytes || dst_nbytes < nbytes) { | ^ /home/clear/spdk/lib/idxd/idxd.c:1218:26: error: ‘dst_nbytes’ may be used uninitialized in this function [-Werror=maybe-uninitialized] 1218 | if (src_nbytes < nbytes || dst_nbytes < nbytes) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ LINK iscsi_fuzz /home/clear/spdk/lib/idxd/idxd.c: In function ‘spdk_idxd_batch_prep_compare’: /home/clear/spdk/lib/idxd/idxd.c:1255:5: error: ‘src1_nbytes’ may be used uninitialized in this function [-Werror=maybe-uninitialized] 1255 | if (src1_nbytes < nbytes || src2_nbytes < nbytes) { | ^ /home/clear/spdk/lib/idxd/idxd.c:1255:27: error: ‘src2_nbytes’ may be used uninitialized in this function [-Werror=maybe-uninitialized] 1255 | if (src1_nbytes < nbytes || src2_nbytes < nbytes) { | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: yidong0635 <dongx.yi@intel.com> Change-Id: I7f1b01c04e4f7287616c590b652aa5cee26d2901 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4694 Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
accel | ||
bdev | ||
blob | ||
blobfs | ||
conf | ||
env_dpdk | ||
env_ocf | ||
event | ||
ftl | ||
idxd | ||
ioat | ||
iscsi | ||
json | ||
jsonrpc | ||
log | ||
lvol | ||
nbd | ||
net | ||
notify | ||
nvme | ||
nvmf | ||
rdma | ||
reduce | ||
rocksdb | ||
rpc | ||
rte_vhost | ||
scsi | ||
sock | ||
thread | ||
trace | ||
ut_mock | ||
util | ||
vhost | ||
virtio | ||
vmd | ||
Makefile |