[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [XEN PATCH][for-next v2 7/7] x86/mem_access: make function static
On 16/10/2023 16:29, Jan Beulich wrote: On 09.10.2023 08:54, Nicola Vetrini wrote:--- a/xen/arch/x86/mm/mem_access.c +++ b/xen/arch/x86/mm/mem_access.c@@ -249,7 +249,7 @@ bool p2m_mem_access_check(paddr_t gpa, unsigned long gla,return (p2ma != p2m_access_n2rwx); }-int p2m_set_altp2m_mem_access(struct domain *d, struct p2m_domain *hp2m, +static int p2m_set_altp2m_mem_access(struct domain *d, struct p2m_domain *hp2m, struct p2m_domain *ap2m, p2m_access_t a,gfn_t gfn)As mentioned before, when adding static (or whatever else) like this, the next line(s) need re-indenting. Jan Ok. -- Nicola Vetrini, BSc Software Engineer, BUGSENG srl (https://bugseng.com)
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |