Re: [PATCH v7 3/3] MTD: atmel_nand: Update driver to support Programmable Multibit ECC controller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

On Thu, May 17, 2012 at 02:43:31PM +0300, Artem Bityutskiy wrote:
> On Thu, 2012-05-17 at 14:36 +0800, Josh Wu wrote:
> > >> message text should not be split across lines anyway to ease grepping
> > >> for the message.
> > > I think the consensus is that it is personal decision of the author. I
> > > am not trying to enforce this and I also split messages. In this case I
> > > was only wondering why that backslash is used? I never saw this before
> > > in the linux kernel.
> > >
> > 
> > oh, I add the backslash only because if without it, there should be a 
> > warning about message is splitting into two lines.
> 
> Backslash is not needed in C. The preprocessor removes it anyway. We do
> not put them.
> 
> > Now I think I will just keep the text message in one line. That will 
> > avoid any warnings. thanks.
> 
> You can just remove the backslashes. I think your lines splitting is
> fine otherwise.

It's also preferred _not_ to wrap error messages as that makes them
harder to grep for.  Linus has mentioned this several times on LKML
and has corrected error messages that he encounters that he can't
find via grep.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel


[Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [PDAs]     [Linux]     [Linux MIPS]     [Yosemite Campsites]     [Photos]

Add to Google Follow linuxarm on Twitter