mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-05-03 01:19:41 +00:00
This patch is to fix some compiler warnings before enabling the flag to make compiler warning as compiler error. The warning message is like: ignoring return value of ‘write’, declared with attribute warn_unused_result. Tracked-On: #1122 Signed-off-by: CHEN Gang <gang.c.chen@intel.com> Reviewed-by: Zhi Jin <zhi.jin@intel.com> Reviewed-by: Liu, Xinwu <xinwu.liu@intel.com>