Message ID | 49ce75f6f79f6de3a447f9bfb44e288e689dd8f3.1690470179.git.federico.serafini@bugseng.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [XEN] xen: change names and type qualifiers in copy_domain_page() declaration | expand |
On 27.07.2023 17:04, Federico Serafini wrote: > Change names and type qualifiers of parameters in copy_domain_page() > declaration to keep consistency with the corresponding definition. > This addresses violations of MISRA C:2012 Rule 8.3: "All declarations > of an object or function shall use the same names and type qualifiers". > > No functional changes. > > Signed-off-by: Federico Serafini <federico.serafini@bugseng.com> Acked-by: Jan Beulich <jbeulich@suse.com>
diff --git a/xen/include/xen/domain_page.h b/xen/include/xen/domain_page.h index 149b217b96..c4007eac09 100644 --- a/xen/include/xen/domain_page.h +++ b/xen/include/xen/domain_page.h @@ -15,7 +15,7 @@ * Clear a given page frame, or copy between two of them. */ void clear_domain_page(mfn_t mfn); -void copy_domain_page(mfn_t dst, const mfn_t src); +void copy_domain_page(mfn_t dest, mfn_t source); #ifdef CONFIG_ARCH_MAP_DOMAIN_PAGE
Change names and type qualifiers of parameters in copy_domain_page() declaration to keep consistency with the corresponding definition. This addresses violations of MISRA C:2012 Rule 8.3: "All declarations of an object or function shall use the same names and type qualifiers". No functional changes. Signed-off-by: Federico Serafini <federico.serafini@bugseng.com> --- xen/include/xen/domain_page.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)