From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Sun, 03 Feb 2013 13:14:33 +0100 Subject: [U-Boot] [PATCH] cmd_mem.c: Fix simple typoes, no functional changes. In-Reply-To: References: <510D67C9.5010709@myspectrum.nl> <20130203101632.E68CA20040A@gemini.denx.de> Message-ID: <20130203121433.79E6620040A@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Robert, In message 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.