Message ID | 20200404131017.27330-2-julien@xen.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | xen: Consolidate asm-*/guest_access.h in xen/guest_access.h | expand |
On 04.04.2020 15:10, Julien Grall wrote: > From: Julien Grall <jgrall@amazon.com> > > Add missing emacs magics for xen/guest_access.h and > asm-x86/guest_access.h. > > Signed-off-by: Julien Grall <jgrall@amazon.com> I don't think these are "missing"; as per ./CODING_STYLE they're permitted, but not required (and I continue to question why one form of such a comment should be preferred over possible other forms other editors may support). Nevertheless, as this is in line with what we have elsewhere: Acked-by: Jan Beulich <jbeulich@suse.com> Jan
Hi Jan, On 07/04/2020 09:05, Jan Beulich wrote: > On 04.04.2020 15:10, Julien Grall wrote: >> From: Julien Grall <jgrall@amazon.com> >> >> Add missing emacs magics for xen/guest_access.h and >> asm-x86/guest_access.h. >> >> Signed-off-by: Julien Grall <jgrall@amazon.com> > > I don't think these are "missing"; as per ./CODING_STYLE they're > permitted, but not required (and I continue to question why one > form of such a comment should be preferred over possible other > forms other editors may support). Nevertheless, as this is in > line with what we have elsewhere: I can remove the "missing" words if you prefer. > > Acked-by: Jan Beulich <jbeulich@suse.com> Thank you! Cheers,
diff --git a/xen/include/asm-x86/guest_access.h b/xen/include/asm-x86/guest_access.h index 0b58f2baee..9ee275d01f 100644 --- a/xen/include/asm-x86/guest_access.h +++ b/xen/include/asm-x86/guest_access.h @@ -175,3 +175,11 @@ }) #endif /* __ASM_X86_GUEST_ACCESS_H__ */ +/* + * Local variables: + * mode: C + * c-file-style: "BSD" + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */ diff --git a/xen/include/xen/guest_access.h b/xen/include/xen/guest_access.h index 09989df819..ef9aaa3efc 100644 --- a/xen/include/xen/guest_access.h +++ b/xen/include/xen/guest_access.h @@ -33,3 +33,11 @@ char *safe_copy_string_from_guest(XEN_GUEST_HANDLE(char) u_buf, size_t size, size_t max_size); #endif /* __XEN_GUEST_ACCESS_H__ */ +/* + * Local variables: + * mode: C + * c-file-style: "BSD" + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + */