mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-28 20:16:09 +00:00
In 'get_ptdev_info()', variables 'bdf' and 'vbdf' are 16bits in size but their base addresses are converted to 32bit pointers when calling 'get_entry_info()'. This mismatch causes insufficient space when storing to memory pointer by 'bdf' or 'vbdf' in 'get_entry_info()', where those pointers are regarded as 32bits width memory. This patch refines definition of 'get_entry_info()'. Tracked-On: #7547 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>