mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "Robert P. J. Day" <rpjday@crashcourse.ca>
To: "menon.nishanth@gmail.com" <menon.nishanth@gmail.com>
Cc: "U-Boot Version 2 (barebox)" <barebox@lists.infradead.org>
Subject: Re: lots of inaccurate references to "FileName: include/asm-arm ..."
Date: Tue, 4 Dec 2012 14:30:59 -0500 (EST)	[thread overview]
Message-ID: <alpine.DEB.2.02.1212041429450.3234@oneiric> (raw)
In-Reply-To: <CAGo_u6q97PTW+FAUnTOw1h-Jx=ZbO_hqqfAyP-d8_7DkVZEnkQ@mail.gmail.com>

On Tue, 4 Dec 2012, menon.nishanth@gmail.com wrote:

> On Tue, Dec 4, 2012 at 10:13 AM, Robert P. J. Day <rpjday@crashcourse.ca> wrote:
> >
> >   while roaming around in the arm/omap files, i noticed that numerous
> > files have obsolete "FileName:" values, given that stuff that was once
> > in "include/asm-arm" has clearly moved, so you find header files like
> > arch/arm/mach-omap/include/mach/gpmc_nand.h that contain:
> >
> >  * FileName: include/asm-arm/arch-omap/gpmc_nand.h
> >  *
> >  * OMAP's General Purpose Memory Controller (GPMC) has a NAND controller
> >  * embedded. this file provides the platform data structure required to
> >  * hook on to it.
> >  *
> >  */
> > /*
> >  * (C) Copyright 2008
> >  * Texas Instruments, <www.ti.com>
> >  * Nishanth Menon <x0nishan@ti.com>
> >  *
> >  * Originally from Linux kernel:
> >  * http://linux.omap.com/pub/kernel/3430zoom/linux-ldp-v1.3.tar.gz
> >  * include/asm-arm/arch-omap/nand.h
> >
> > so the later comment as to the *origin* of the file is fine, but the
> > earlier "FileName" value is obviously incorrect.  does that matter?
> > is that value used for any sort of documentation processing?
>
> At least when I created the original file in 2008, I think it was
> originally from
> http://linux.omap.com/pub/kernel/3430zoom/
> and the file there was include/asm-arm/arch-omap/nand.h
>
> > p.s.  you can see the number of these with a simple:
> >
> > $ grep -r "include/asm-arm" *
> >
> > since i'm working with a number of the ARM files, i'd be happy to
> > "fix" that stuff for some reasonable definition of "fix". :-)
> >
> if there is a cleanup, awesome.. that would be really be good.

  the obvious cleanup is to just delete all those "FileName" lines.
it *is* useful info to know where a file came from in the linux
kernel, i would definitely leave that in.  but (as was explained to me
recently) it's pointless to have a file contain its own alleged name,
especially if files can be moved.

  so unless those "FileName" lines have some value, i would just
remove all of them.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2012-12-04 19:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-04 16:13 Robert P. J. Day
2012-12-04 19:08 ` menon.nishanth
2012-12-04 19:30   ` Robert P. J. Day [this message]
2012-12-04 19:36     ` menon.nishanth
2012-12-04 19:49       ` Robert P. J. Day
2012-12-04 20:53         ` Robert P. J. Day
2012-12-04 20:59           ` menon.nishanth
2012-12-04 21:03             ` Robert P. J. Day

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=alpine.DEB.2.02.1212041429450.3234@oneiric \
    --to=rpjday@crashcourse.ca \
    --cc=barebox@lists.infradead.org \
    --cc=menon.nishanth@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox