x86/hyperv: Cosmetic changes for hv_apic.c
Fix issues reported by checkpatch.pl script for hv_apic.c file - Alignment should match open parenthesis - Remove unnecessary parenthesis No functional changes intended. Signed-off-by: Erni Sri Satya Vennela <ernis@linux.microsoft.com> Reviewed-by: Saurabh Sengar <ssengar@linux.microsoft.com> Link: https://lore.kernel.org/r/1711009325-21894-1-git-send-email-ernis@linux.microsoft.com Signed-off-by: Wei Liu <wei.liu@kernel.org> Message-ID: <1711009325-21894-1-git-send-email-ernis@linux.microsoft.com>
This commit is contained in:
parent
e8f897f4af
commit
e249884e10
@ -132,7 +132,7 @@ static bool __send_ipi_mask_ex(const struct cpumask *mask, int vector,
|
|||||||
if (!cpumask_equal(mask, cpu_present_mask) || exclude_self) {
|
if (!cpumask_equal(mask, cpu_present_mask) || exclude_self) {
|
||||||
ipi_arg->vp_set.format = HV_GENERIC_SET_SPARSE_4K;
|
ipi_arg->vp_set.format = HV_GENERIC_SET_SPARSE_4K;
|
||||||
|
|
||||||
nr_bank = cpumask_to_vpset_skip(&(ipi_arg->vp_set), mask,
|
nr_bank = cpumask_to_vpset_skip(&ipi_arg->vp_set, mask,
|
||||||
exclude_self ? cpu_is_self : NULL);
|
exclude_self ? cpu_is_self : NULL);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -181,7 +181,7 @@ static bool __send_ipi_mask(const struct cpumask *mask, int vector,
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((vector < HV_IPI_LOW_VECTOR) || (vector > HV_IPI_HIGH_VECTOR))
|
if (vector < HV_IPI_LOW_VECTOR || vector > HV_IPI_HIGH_VECTOR)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -241,7 +241,7 @@ static bool __send_ipi_one(int cpu, int vector)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((vector < HV_IPI_LOW_VECTOR) || (vector > HV_IPI_HIGH_VECTOR))
|
if (vector < HV_IPI_LOW_VECTOR || vector > HV_IPI_HIGH_VECTOR)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (vp >= 64)
|
if (vp >= 64)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user