mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-11-28 07:45:32 +00:00
HV:treewide:fix "Reference parameter to procedure is reassigned"
Parameter's type which is pointer should not be changed in the scope of function,assign it's value to local variable to fixed it out. Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -81,7 +81,7 @@ void ptdev_activate_entry(
|
||||
void ptdev_deactivate_entry(struct ptdev_remapping_info *entry);
|
||||
|
||||
#ifdef HV_DEBUG
|
||||
void get_ptdev_info(char *str, int str_max);
|
||||
void get_ptdev_info(char *str_arg, int str_max);
|
||||
#endif /* HV_DEBUG */
|
||||
|
||||
#endif /* PTDEV_H */
|
||||
|
||||
Reference in New Issue
Block a user