975852a079
After compiling SPDK with `--enable-ubsan` option, ocf tests fail with the following error: src/ocf/mngt/ocf_mngt_common.c:170:2: runtime error: member access within misaligned address 0x200003800188 for type 'struct ocf_cache', which requires 64 byte alignment The mentioned line of code is `list_for_each_entry()` macro used for iterating lists. Forcing `struct list` alignment removes the issue. Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com> Change-Id: I803dd962ff873679f42568e6f42fec7fed278f67 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8516 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Rafal Stefanowski <rafal.stefanowski@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
ocf_env_headers.h | ||
ocf_env_list.h | ||
ocf_env.c | ||
ocf_env.h |