[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 21/23] error: Clean up errors with embedded n
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v2 21/23] error: Clean up errors with embedded newlines (again) |
Date: |
Thu, 17 Dec 2015 14:53:49 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
On 12/17/2015 09:50 AM, Markus Armbruster wrote:
> The arguments of error_report() should yield a short error string
> without newlines.
>
> A few places try to print additional help after the error message by
> embedding newlines in the error string. That's nice, but let's do it
> the right way. Commit 474c213 cleaned up some, but they keep coming
> back. Offenders tracked down with the Coccinelle semantic patch from
> commit 312fd5f.
Not sure if you'll have any stragglers from 1/23 here, after fixing 16/23.
>
> Cc: Laszlo Ersek <address@hidden>
> Cc: Pavel Fedin <address@hidden>
> Signed-off-by: Markus Armbruster <address@hidden>
> Reviewed-by: Laszlo Ersek <address@hidden>
> ---
> hw/i386/pc.c | 4 ++--
> kvm-all.c | 6 +++---
> 2 files changed, 5 insertions(+), 5 deletions(-)
>
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- Re: [Qemu-devel] [PATCH v2 09/23] error: New error_prepend(), error_reportf_err(), (continued)
- [Qemu-devel] [PATCH v2 21/23] error: Clean up errors with embedded newlines (again), Markus Armbruster, 2015/12/17
- Re: [Qemu-devel] [PATCH v2 21/23] error: Clean up errors with embedded newlines (again),
Eric Blake <=
- [Qemu-devel] [PATCH v2 18/23] vmdk: Clean up "Invalid extent lines" error message, Markus Armbruster, 2015/12/17
- [Qemu-devel] [PATCH v2 22/23] hw/s390x: Rename local variables Error *l_err to just err, Markus Armbruster, 2015/12/17
- Re: [Qemu-devel] [PATCH v2 00/23] Error reporting cleanups and fixes, Cornelia Huck, 2015/12/17