Re: [Qemu-devel] [PATCH for-1.4 v3 3/6] error: Strip trailing '\n' from error string arguments (again)

2013-02-19 Thread Markus Armbruster
Alex Williamson writes: > On Fri, 2013-02-08 at 21:22 +0100, Markus Armbruster wrote: >> Commit 6daf194d and be62a2eb got rid of a bunch, but they keep coming >> back. Tracked down with this Coccinelle semantic patch: >> >> @r@ >> expression err, eno, cls, fmt; >> position p; >>

Re: [Qemu-devel] [PATCH for-1.4 v3 3/6] error: Strip trailing '\n' from error string arguments (again)

2013-02-18 Thread Alex Williamson
On Fri, 2013-02-08 at 21:22 +0100, Markus Armbruster wrote: > Commit 6daf194d and be62a2eb got rid of a bunch, but they keep coming > back. Tracked down with this Coccinelle semantic patch: > > @r@ > expression err, eno, cls, fmt; > position p; > @@ > ( > error_repor

[Qemu-devel] [PATCH for-1.4 v3 3/6] error: Strip trailing '\n' from error string arguments (again)

2013-02-08 Thread Markus Armbruster
Commit 6daf194d and be62a2eb got rid of a bunch, but they keep coming back. Tracked down with this Coccinelle semantic patch: @r@ expression err, eno, cls, fmt; position p; @@ ( error_report(fmt, ...)@p | error_set(err, cls, fmt, ...)@p |