Spdk/lib/idxd
Pawel Piatek 40839ddfc2 idxd: fix may be used uninitialized
Nightly build failing on Centos 7 machine
C compiler for the host machine: cc (gcc 4.8.5 "cc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)")
C linker for the host machine: cc ld.bfd 2.27-44
Host machine cpu family: x86_64
Host machine cpu: x86_64

Errors like:
idxd.c: In function ‘spdk_idxd_submit_crc32c’:
idxd.c:902:24: error: ‘prev_crc’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
    desc->crc32c.addr = (uint64_t)prev_crc;

Signed-off-by: Pawel Piatek <pawelx.piatek@intel.com>
Change-Id: Ib40160b1974ecd3f1579566b6eb5d88e03b5bb2b
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11082
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2022-06-30 13:32:31 -04:00
..
idxd_kernel.c spelling: lib 2022-06-30 13:32:28 -04:00
idxd_user.c idxd: change NOTICELOGs to DEBUGLOGs 2022-06-30 13:32:27 -04:00
idxd.c idxd: fix may be used uninitialized 2022-06-30 13:32:31 -04:00
idxd.h idxd: Do vtophys on batch descriptor array up front instead of 2022-06-30 13:32:30 -04:00
Makefile idxd: Add support for vectored copy operations 2022-06-30 13:32:30 -04:00
spdk_idxd.map idxd: Eliminate spdk_idxd_configure_chan 2022-06-30 13:32:31 -04:00