Loading
lib/vhost: Fix unaligned pointer value error
Reported by clang: rte_vhost_compat.c:114:36: error: taking address of packed member 'payload' of class or structure 'vhost_user_msg' may result in an unaligned pointer value. To fix it, just remove the extra unaligned pointer and inline all its accesses. Change-Id: I7e4ab536b87ab02a4ea12c55d55a6e495c3091ca Signed-off-by:Wojciech Malikowski <wojciech.malikowski@intel.com> Signed-off-by:
Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/457559 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>