+2
−2
Loading
Warning: taking address of packed member of 'struct spdk_nvme_health_information_page' and 'spdk_nvme_ctrlr_data' may result in an unaligned pointer value [-Waddress-of-packed-member] So add __attribute__((aligned)) following with __attribute__((packed)) to avoid this kind of GCC9 warning. This related to issue #822. Change-Id: I6117c1e50a137d29cd60ebbad5c15d9093d21670 Signed-off-by:yidong0635 <dongx.yi@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/458535 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Karol Latecki <karol.latecki@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com>