mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-11 05:39:45 +00:00
HV:fixed "Pointer param should be declared pointer to const"
Pointer param should be declared pointer to const if the parameter is keeped read-only. This patch changes pointer param whose name is vm. Tracked-On:#861 Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
committed by
Xie, Nanlin
parent
40dbdcde4f
commit
60b216a460
@@ -523,7 +523,7 @@ vioapic_cleanup(struct acrn_vioapic *vioapic)
|
||||
}
|
||||
|
||||
uint32_t
|
||||
vioapic_pincount(struct vm *vm)
|
||||
vioapic_pincount(const struct vm *vm)
|
||||
{
|
||||
if (is_vm0(vm)) {
|
||||
return REDIR_ENTRIES_HW;
|
||||
|
Reference in New Issue
Block a user