numam-spdk/lib/vhost
Wojciech Malikowski 5089a9c5f9 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>
2019-06-17 07:18:48 +00:00
..
rte_vhost rte_vhost: fix compilation against dpdk master 2019-06-12 05:29:02 +00:00
Makefile vhost: install external msg handling hooks to rte_vhost 2019-03-13 14:26:20 +00:00
rte_vhost_compat.c lib/vhost: Fix unaligned pointer value error 2019-06-17 07:18:48 +00:00
vhost_blk.c vhost_blk: set the maximum supported data segment based on bdev 2019-06-07 05:05:22 +00:00
vhost_internal.h vhost: abstract vring call mechanism as it is transport-specific 2019-06-03 20:14:08 +00:00
vhost_nvme.c vhost: allocate device objects with regular calloc 2019-04-22 16:50:37 +00:00
vhost_rpc.c configure: add option not to use the internal rte_vhost copy 2019-03-13 14:26:20 +00:00
vhost_scsi.c vhost: introduce vsession->started 2019-05-10 22:31:41 +00:00
vhost.c vhost: don't interrupt uninitialized virtqueues 2019-06-11 01:14:45 +00:00