mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 07:35:31 +00:00
HV:common:transfer local variable type
The local variable type should be transfer to non-basic type, chaned it to length-prefix(uint32_t,int32_t ...) type. Char *type or char array type which used to pointer a string will be keeped. V1->V2 add extra comments. Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
int64_t hcall_world_switch(struct vcpu *vcpu)
|
||||
{
|
||||
int next_world_id = !(vcpu->arch_vcpu.cur_context);
|
||||
int32_t next_world_id = !(vcpu->arch_vcpu.cur_context);
|
||||
|
||||
if (next_world_id >= NR_WORLD) {
|
||||
pr_err("%s world_id %d exceed max number of Worlds\n",
|
||||
|
||||
Reference in New Issue
Block a user