Added initialization of the prev_crc variable to avoid compilation error: idxd.c: In function ?spdk_idxd_submit_copy_crc32c?: idxd.c:1138:51: error: ?prev_crc? may be used uninitialized [-Werror=maybe-uninitialized] 1138 | desc->crc32c.addr = prev_crc; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ idxd.c:1081:18: note: ?prev_crc? was declared here 1081 | uint64_t prev_crc; | ^~~~~~~~ Change-Id: I6b93d5d85b52e20f8a2c313c41b740f66eebe1c7 Signed-off-by: Marcin Spiewak <marcin.spiewak@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16900 Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
idxd_internal.h | ||
idxd_kernel.c | ||
idxd_user.c | ||
idxd.c | ||
Makefile | ||
spdk_idxd.map |