From: Wolfgang Denk Date: Fri, 08 Feb 2013 06:19:52 +0100 Subject: [U-Boot] [PATCH][v2]powerpc/usb: Fix usb device-tree fix-up In-Reply-To: <1360296886-2444-1-git-send-email-ramneek.mehresh@freescale.com> References: <1360296886-2444-1-git-send-email-ramneek.mehresh@freescale.com> Message-ID: <20130208051952.8E21020053A@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 Ramneek Mehresh, In message <1360296886-2444-1-git-send-email-ramneek.mehresh@freescale.com> you wrote: > > + printf("ERROR: wrong usb mode/phy" > + " defined!!\n"); 1) Please do not split the error message across lines. Quoting CodingStyle, Chapter 2: Breaking long lines and strings: However, never break user-visible strings such as printk messages, because that breaks the ability to grep for them. 2) There is no formatting needed, so you can use puts() rather printf() 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 The main thing is the play itself. I swear that greed for money has nothing to do with it, although heaven knows I am sorely in need of money. - Feodor Dostoyevsky