All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <Ian.Campbell@citrix.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: keir <keir@xen.org>, Andrew Cooper <andrew.cooper3@citrix.com>,
	Daniel Kiper <daniel.kiper@oracle.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	Roy Franz <roy.franz@linaro.org>,
	xen-devel <xen-devel@lists.xenproject.org>
Subject: Re: A few EFI code questions
Date: Fri, 5 Dec 2014 09:52:08 +0000	[thread overview]
Message-ID: <1417773128.22808.48.camel@citrix.com> (raw)
In-Reply-To: <54818D2A020000780004D0CA@mail.emea.novell.com>

On Fri, 2014-12-05 at 09:47 +0000, Jan Beulich wrote:
> >>> On 05.12.14 at 10:33, <Ian.Campbell@citrix.com> wrote:
> > On Fri, 2014-12-05 at 07:37 +0000, Jan Beulich wrote:
> >> >>> On 04.12.14 at 22:22, <roy.franz@linaro.org> wrote:
> >> > On Thu, Dec 4, 2014 at 1:35 AM, Jan Beulich <JBeulich@suse.com> wrote:
> >> >>>>> On 03.12.14 at 22:02, <daniel.kiper@oracle.com> wrote:
> >> >>> 3) Should not we change xen/arch/*/efi/efi-boot.h to
> >> >>>    xen/arch/*/efi/efi-boot.c? efi-boot.h contains more
> >> >>>    code than definitions, declarations and short static
> >> >>>    functions. So, I think that it is more regular *.c file
> >> >>>    than header file.
> >> >>
> >> >> That's a matter of taste - I'd probably have made it .c too, but
> >> >> didn't mind it being .h as done by Roy (presumably on the basis
> >> >> that #include directives are preferred to have .h files as their
> >> >> operands). The only thing I regret is that I didn't ask for the
> >> >> pointless efi- prefix to be dropped.
> >> > 
> >> > I don't mind a change here, and I agree that it is more like a .c file
> >> > than a .h.  If a name change is done, is it worth dropping the "efi-" at
> >> > the same time?
> >> 
> >> If we indeed want to change the name (post 4.5), making both
> >> adjustments at once would be kind of a requirement of mine.
> > 
> > Random thought: *.inc for .c files which happen to be embedded into
> > another using #include?
> 
> That may conflict with certain editors' language detection, as .inc
> may have other meanings (in the x86 Windows world I'd expect this
> to be an assembler include file for example).

Oh, so does my emacs apparently (a leftover .emacs snippet from a
previous life...). Nevermind that suggestion then.

The existing comment at the top of the included files is probably
sufficient.

Ian.

  reply	other threads:[~2014-12-05  9:52 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-03 21:02 A few EFI code questions Daniel Kiper
2014-12-04  9:35 ` Jan Beulich
2014-12-04 21:22   ` Roy Franz
2014-12-05  7:37     ` Jan Beulich
2014-12-05  9:33       ` Ian Campbell
2014-12-05  9:47         ` Jan Beulich
2014-12-05  9:52           ` Ian Campbell [this message]
2014-12-05 14:51   ` Daniel Kiper
2014-12-05 15:00     ` Jan Beulich
2014-12-05 16:40       ` Daniel Kiper
2014-12-05 17:00         ` Jan Beulich
2014-12-05 17:59           ` Daniel Kiper
2014-12-08  8:55             ` Jan Beulich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1417773128.22808.48.camel@citrix.com \
    --to=ian.campbell@citrix.com \
    --cc=JBeulich@suse.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=daniel.kiper@oracle.com \
    --cc=keir@xen.org \
    --cc=roy.franz@linaro.org \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.