summaryrefslogtreecommitdiffstats
path: root/virt/kvm
diff options
context:
space:
mode:
Diffstat (limited to 'virt/kvm')
-rw-r--r--virt/kvm/arm/vgic/vgic-v2.c7
-rw-r--r--virt/kvm/arm/vgic/vgic-v3.c7
2 files changed, 8 insertions, 6 deletions
diff --git a/virt/kvm/arm/vgic/vgic-v2.c b/virt/kvm/arm/vgic/vgic-v2.c
index 96aab77d0471..e67945020b45 100644
--- a/virt/kvm/arm/vgic/vgic-v2.c
+++ b/virt/kvm/arm/vgic/vgic-v2.c
@@ -354,10 +354,11 @@ out:
354DEFINE_STATIC_KEY_FALSE(vgic_v2_cpuif_trap); 354DEFINE_STATIC_KEY_FALSE(vgic_v2_cpuif_trap);
355 355
356/** 356/**
357 * vgic_v2_probe - probe for a GICv2 compatible interrupt controller in DT 357 * vgic_v2_probe - probe for a VGICv2 compatible interrupt controller
358 * @node: pointer to the DT node 358 * @info: pointer to the GIC description
359 * 359 *
360 * Returns 0 if a GICv2 has been found, returns an error code otherwise 360 * Returns 0 if the VGICv2 has been probed successfully, returns an error code
361 * otherwise
361 */ 362 */
362int vgic_v2_probe(const struct gic_kvm_info *info) 363int vgic_v2_probe(const struct gic_kvm_info *info)
363{ 364{
diff --git a/virt/kvm/arm/vgic/vgic-v3.c b/virt/kvm/arm/vgic/vgic-v3.c
index 0c653a1e5215..30955d162a01 100644
--- a/virt/kvm/arm/vgic/vgic-v3.c
+++ b/virt/kvm/arm/vgic/vgic-v3.c
@@ -570,10 +570,11 @@ static int __init early_gicv4_enable(char *buf)
570early_param("kvm-arm.vgic_v4_enable", early_gicv4_enable); 570early_param("kvm-arm.vgic_v4_enable", early_gicv4_enable);
571 571
572/** 572/**
573 * vgic_v3_probe - probe for a GICv3 compatible interrupt controller in DT 573 * vgic_v3_probe - probe for a VGICv3 compatible interrupt controller
574 * @node: pointer to the DT node 574 * @info: pointer to the GIC description
575 * 575 *
576 * Returns 0 if a GICv3 has been found, returns an error code otherwise 576 * Returns 0 if the VGICv3 has been probed successfully, returns an error code
577 * otherwise
577 */ 578 */
578int vgic_v3_probe(const struct gic_kvm_info *info) 579int vgic_v3_probe(const struct gic_kvm_info *info)
579{ 580{