From: Detlev Zundel Date: Fri, 29 Jul 2011 09:50:12 +0200 Subject: [U-Boot] [PATCH v3 6/7] Add pxecfg command In-Reply-To: <20110727203613.D82A61EA343@gemini.denx.de> (Wolfgang Denk's message of "Wed, 27 Jul 2011 22:36:13 +0200") References: <1309364719-16219-1-git-send-email-jason.hobbs@calxeda.com> <1309364719-16219-7-git-send-email-jason.hobbs@calxeda.com> <20110725211536.6E6C9138EED5@gemini.denx.de> <20110726213914.GB22660@jhobbs-laptop> <20110727203613.D82A61EA343@gemini.denx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Wolfgang, [...] >> > > + if (path_len > MAX_TFTP_PATH_LEN) { >> > > + printf("Base path too long (%s%s)\n", >> > > + bootfile_path ? bootfile_path : "", >> > > + file_path); >> > >> > Indentation is one level only. Please fix globally. >> >> Moving these printf args substantially to the right follows kernel >> CodingStyle guidelines and is more readable than a single level of >> indentation. Is this a deviation from the kernel CodingStyle that >> should go into the U-boot coding style wiki? > > I think you misread the Coding Style here. What you are referring to > is probably this: > > Statements longer than 80 columns will be broken into sensible chunks. > Descendants are always substantially shorter than the parent and are placed > substantially to the right. The same applies to function headers with > a long argument list. ^^^^^^^^^^^^^^^^ > > So this rule of "place substantially to the right" is given here for > function >>headers<< only. I cannot find a place that makes such a > comment for calling a function with a long argument list. Actually the quoted text clearly applies to "descendants" of "statements longer than 80 columns" _and_ of "function headers". So I believe your reading is not correct. But this is only a formal remark - I agree that the proposed change is to the worse ;) Cheers Detlev -- In the topologic hell the beer is packed in Klein's bottles. -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de