]> xenbits.xensource.com Git - people/dwmw2/xen.git/commitdiff
xen/arm: p2m: Rename ret to mfn in p2m_lookup
authorJulien Grall <julien.grall@arm.com>
Mon, 16 Jul 2018 17:27:09 +0000 (18:27 +0100)
committerJulien Grall <julien.grall@arm.com>
Wed, 22 Aug 2018 15:38:01 +0000 (16:38 +0100)
Comestic change to make clearer what is the return ('ret' is a bit
too generic).

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/p2m.c

index a80ac301c52121a1bef77f3da44966fb8a652273..e0904bcf1dd0f7a7b6e4c1cf70b7d9890f7104e0 100644 (file)
@@ -369,14 +369,14 @@ out:
 
 mfn_t p2m_lookup(struct domain *d, gfn_t gfn, p2m_type_t *t)
 {
-    mfn_t ret;
+    mfn_t mfn;
     struct p2m_domain *p2m = p2m_get_hostp2m(d);
 
     p2m_read_lock(p2m);
-    ret = p2m_get_entry(p2m, gfn, t, NULL, NULL);
+    mfn = p2m_get_entry(p2m, gfn, t, NULL, NULL);
     p2m_read_unlock(p2m);
 
-    return ret;
+    return mfn;
 }
 
 int guest_physmap_mark_populate_on_demand(struct domain *d,