[U-Boot] [PATCH] cmd_mem.c: Fix simple typoes, no functional changes.

Wolfgang Denk wd at denx.de
Sun Feb 3 13:14:33 CET 2013


Dear Robert,

In message <alpine.DEB.2.02.1302030522480.6448 at oneiric> you wrote:
>
>   so what is the actual standard?  besides the above, line space
> above?  line space below?  because i see all sorts of variations in
> the code, the most common of which is:

The "standard" is the Linux CodingStyle:

------------------------- snip ----------------------
The preferred style for long (multi-line) comments is:

	/*
	 * This is the preferred style for multi-line
	 * comments in the Linux kernel source code.
	 * Please use it consistently.
	 *
	 * Description:  A column of asterisks on the left side,
	 * with beginning and ending almost-blank lines.
	 */

------------------------- snip ----------------------

Regarding the space above and blow, I'm not aware of any "standard".
Please apply common sense.

> which, as you can see, has a leading blank line but not a following
> one.  so what's correct?  is this written down somewhere?

Not that I'm aware of.

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
A year spent in artificial intelligence is enough to make one believe
in God.


More information about the U-Boot mailing list