+16
−11
Loading
Newer UBSAN doesn't like adding offsets to NULL addresses. We have unit tests that use some NULL addresses. We could fix the unit tests but we can avoid the problem altogether by just having the memory registration functions work with uint64_t when doing address calculations. Fixes issue #3512. Signed-off-by:Jim Harris <jim.harris@samsung.com> Change-Id: I6904f68c7e0b0e52e415fc85acca485aeccc0c0c Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24729 Community-CI: Mellanox Build Bot Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by:
Michal Berger <michal.berger@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>