|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] 1 of 2: default ssid to 0
On 6/26/05, Mark Williamson <mark.williamson@xxxxxxxxxxxx> wrote:
> > i think it is very bad idea to have 2 coding styles for code in kernel
> > and out of kernel. because people work on all those code must always
> > remember to adjust the editor configuration, depend on the code in or
> > out of kernel, which is a nightmare :-(
>
> Yes, it's an extra thing to think about. It also means that code imported
> from Linux needs adjusting to fit with the Xen coding convention.
>
> OTOH, we don't just work with the Linux kernel any more, so there will be
> multiple coding conventions anyhow. I just set up emacs so I can type "M-x
> xen-c-mode" or "M-x linux-c-mode".
>
> > how about this simple guide?
> > - C code complies Linux kernel coding style
>
> I don't think this is likely to happen any time soon - it'd require patches to
> all of Xen and the tools :-( (and probably to some of the Linux code but
> that's arguably desirable)
>
yes, that is too bad. but at least if we have an official style, we
can enforce the rules *from now on*. the old code can be fix later (if
possible).
regards,
aq
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|