846bb4b9e1
In file included from nvme_rdma_ut.c:36: /home/clear/spdk/lib/nvme/nvme_rdma.c:651:22: note: ‘bad_send_wr’ was declared here 651 | struct ibv_send_wr *bad_send_wr; | ^~~~~~~~~~~ In file included from /home/clear/spdk/lib/nvme/nvme_rdma.c:41, from nvme_rdma_ut.c:36: /home/clear/spdk/lib/nvme/nvme_rdma.c: In function ‘nvme_rdma_poll_group_process_completions’: /home/clear/spdk/include/spdk/log.h:132:2: error: ‘bad_send_wr’ may be used uninitialized in this function [-Werror=maybe-uninitialized] 132 | spdk_log(SPDK_LOG_ERROR, __FILE__, __LINE__, __func__, __VA_ARGS__) | ^~~~~~~~ cc1: all warnings being treated as errors. Signed-off-by: yidong0635 <dongx.yi@intel.com> Change-Id: I38ae36756b4bacef7e89f0f1737684c8b8981b12 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4696 Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
Makefile | ||
nvme_ctrlr_cmd.c | ||
nvme_ctrlr_ocssd_cmd.c | ||
nvme_ctrlr.c | ||
nvme_cuse.c | ||
nvme_cuse.h | ||
nvme_fabric.c | ||
nvme_internal.h | ||
nvme_io_msg.c | ||
nvme_io_msg.h | ||
nvme_ns_cmd.c | ||
nvme_ns_ocssd_cmd.c | ||
nvme_ns.c | ||
nvme_opal_internal.h | ||
nvme_opal.c | ||
nvme_pcie.c | ||
nvme_poll_group.c | ||
nvme_qpair.c | ||
nvme_quirks.c | ||
nvme_rdma.c | ||
nvme_tcp.c | ||
nvme_transport.c | ||
nvme_uevent.c | ||
nvme_uevent.h | ||
nvme_zns.c | ||
nvme.c | ||
spdk_nvme.map |