public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] PPC4xx: Add Ethernet 1000BASE-X support for PPC4xx
Date: Mon, 29 Oct 2007 21:25:45 +0100	[thread overview]
Message-ID: <20071029202545.32446247F5@gemini.denx.de> (raw)
In-Reply-To: Your message of "Mon, 29 Oct 2007 13:41:43 EST." <47262967.8070307@arlinx.com>

In message <47262967.8070307@arlinx.com> you wrote:
>
> Would it be better to run Lindent on the original files, post those as
> changes, and then post a second patch with the new material?

If it's your code, or other original code, then yes, this is the way
to go.

But if it's code that was "borrowed" from somewhere else  (like  from
the  Linux  kernel, busybox, etc.) and then only slightly modified to
make it work under U-Boot, then please *DO*  *NOT*  reformat  it,  as
this basicly makes it impossible to update the file from new versions
of the original code.

> BTW, I've noticed that the "Lindent -pcs" format is used inconsistently
> within files.  Since I'm also making changes in Linux, it's hard to
> remember whether to type "foo(bar);" or "foo (bar);", maybe others have
> this difficulty, too.  I've tried to use the form that is prevalent in
> each individual file, though some are pretty much split down the middle.
> 
> How do others feel?

It should be "foo (bar)".

And all this should be sufficiently documented at
http://www.denx.de/wiki/UBoot/CodingStyle

If you feel that details are missing or not  clear  enought  in  this
text please help to extend / fix it.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I distrust all systematisers, and avoid them. The will  to  a  system
shows a lack of honesty.
- Friedrich Wilhelm Nietzsche _G?tzen-D?mmerung [The Twilight of  the
Idols]_ ``Maxims and Missiles'' no. 26

  parent reply	other threads:[~2007-10-29 20:25 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-29 17:00 [U-Boot-Users] [PATCH] PPC4xx: Add Ethernet 1000BASE-X support for PPC4xx Larry Johnson
2007-10-29 17:33 ` Ben Warren
2007-10-29 18:41   ` Larry Johnson
2007-10-29 19:14     ` Jon Loeliger
2007-10-29 19:30       ` Stefan Roese
2007-10-29 19:43         ` Larry Johnson
2007-10-29 19:37       ` Ben Warren
2007-10-29 20:26       ` Wolfgang Denk
2007-10-29 20:25     ` Wolfgang Denk [this message]
2007-10-29 21:36       ` Larry Johnson
2007-10-29 19:33 ` Stefan Roese
2007-10-29 20:26 ` Ben Warren
2007-10-29 22:01   ` Larry Johnson

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=20071029202545.32446247F5@gemini.denx.de \
    --to=wd@denx.de \
    --cc=u-boot@lists.denx.de \
    /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