qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2] checkpatch: Detect newlines in error_report


From: Jason J. Herne
Subject: Re: [Qemu-devel] [PATCH v2] checkpatch: Detect newlines in error_report and other error functions
Date: Thu, 17 Dec 2015 12:49:15 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 12/14/2015 10:40 AM, Markus Armbruster wrote:
"Jason J. Herne" <address@hidden> writes:

On 12/14/2015 07:47 AM, Markus Armbruster wrote:
"Jason J. Herne" <address@hidden> writes:

We don't want newlines embedded in error messages. This seems to be a common
problem with new code so let's try to catch it with checkpatch.

This will not catch cases where newlines are inserted into the middle of an
existing multi-line statement. But those cases should be rare.

Signed-off-by: Jason J. Herne <address@hidden>

...
But I will take a look at this series and see if we can do better :).

Thanks!  If we can't, then I'm for taking this imperfect patch, because
flagging some of these mistakes is better than flagging none.



I won't get a chance to get back to this before the new year. So feel free to push this (unless someone objects) and I'll see what I can do about improving it in January.
Happy holidays! :)

--
-- Jason J. Herne (address@hidden)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]