Re: [Qemu-block] [Qemu-arm] [Qemu-devel] [PATCH v1 1/8] Replace all occurances of __FUNCTION__ with __func__

2017-09-28 Thread Alistair Francis
On Wed, Sep 27, 2017 at 4:47 PM, Peter Maydell <peter.mayd...@linaro.org> wrote: > On 26 September 2017 at 06:32, Eric Blake <ebl...@redhat.com> wrote: >> On 09/25/2017 07:08 PM, Alistair Francis wrote: >>> diff --git a/hw/arm/nseries.c b/hw/arm/nseries.c >>&

[Qemu-block] [PATCH v2 04/47] tests: Replace fprintf(stderr, "*\n" with error_report()

2017-09-29 Thread Alistair Francis
report("\1"\2);|Ig}' \ {} + find ./* -type f -exec sed -i \ 'N;N; {s|fprintf(stderr, "\(.*\)\\n"\(.*\));|error_report("\1"\2);|Ig}' \ {} + find ./* -type f -exec sed -i \ 'N; {s|fprintf(stderr, "\(.*\)\\n"\(.*\));|error_report("\1"\2);

[Qemu-block] [PATCH v2 06/47] hw/block: Replace fprintf(stderr, "*\n" with error_report()

2017-09-29 Thread Alistair Francis
report("\1"\2);|Ig}' \ {} + find ./* -type f -exec sed -i \ 'N;N; {s|fprintf(stderr, "\(.*\)\\n"\(.*\));|error_report("\1"\2);|Ig}' \ {} + find ./* -type f -exec sed -i \ 'N; {s|fprintf(stderr, "\(.*\)\\n"\(.*\));|error_report("\1"\2);

[Qemu-block] [PATCH v2 01/47] Replace all occurances of __FUNCTION__ with __func__

2017-09-29 Thread Alistair Francis
Replace all occurs of __FUNCTION__ except for the check in checkpatch with the non GCC specific __func__. One line in hcd-musb.c was manually tweaked to pass checkpatch. Signed-off-by: Alistair Francis <alistair.fran...@xilinx.com> Cc: Gerd Hoffmann <kra...@redhat.com> Cc: Andrze

[Qemu-block] [PATCH v2 16/47] hw/ide: Replace fprintf(stderr, "*\n" with error_report()

2017-09-29 Thread Alistair Francis
report("\1"\2);|Ig}' \ {} + find ./* -type f -exec sed -i \ 'N;N; {s|fprintf(stderr, "\(.*\)\\n"\(.*\));|error_report("\1"\2);|Ig}' \ {} + find ./* -type f -exec sed -i \ 'N; {s|fprintf(stderr, "\(.*\)\\n"\(.*\));|error_report("\1"\2

[Qemu-block] [PATCH v2 43/47] util: Replace fprintf(stderr, "*\n" with error_report()

2017-09-29 Thread Alistair Francis
report("\1"\2);|Ig}' \ {} + find ./* -type f -exec sed -i \ 'N;N; {s|fprintf(stderr, "\(.*\)\\n"\(.*\));|error_report("\1"\2);|Ig}' \ {} + find ./* -type f -exec sed -i \ 'N; {s|fprintf(stderr, "\(.*\)\\n"\(.*\));|error_report("\1"\2)