[Qemu-devel] [PATCH] checkpatch: Detect newlines in error_report and other error functions

2015-12-11 Thread Jason J. Herne
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 does not catch the newline when it is in a multiline statement. This is quite a bit more difficult and can be handled as follow on work.

Re: [Qemu-devel] [PATCH] checkpatch: Detect newlines in error_report and other error functions

2015-12-11 Thread Jason J. Herne
On 12/11/2015 09:52 AM, Jason J. Herne wrote: 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 does not catch the newline when it is in a multiline statement. This is quite a bit more difficult and