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:
Huihuang Shi
2018-10-18 16:18:45 +08:00
committed by Xie, Nanlin
parent 40dbdcde4f
commit 60b216a460
13 changed files with 25 additions and 25 deletions

View File

@@ -72,7 +72,7 @@ extern spinlock_t ptdev_lock;
void ptdev_softirq(uint16_t pcpu_id);
void ptdev_init(void);
void ptdev_release_all_entries(struct vm *vm);
void ptdev_release_all_entries(const struct vm *vm);
struct ptdev_remapping_info *ptdev_dequeue_softirq(struct vm *vm);
struct ptdev_remapping_info *alloc_entry(struct vm *vm,