Re: [Qemu-devel] [PATCH] block: always compile-check debug prints

2016-04-28 Thread Eric Blake
adding qemu-block On 04/28/2016 02:01 AM, Zhou Jie wrote: > Files with conditional debug statements should ensure that the printf is > always compiled. > This prevents bitrot of the format string of the debug statement. > > Signed-off-by: Zhou Jie > --- > +++ b/block/curl.c > @@ -32,14 +32,15 @

[Qemu-devel] [PATCH] block: always compile-check debug prints

2016-04-28 Thread Zhou Jie
Files with conditional debug statements should ensure that the printf is always compiled. This prevents bitrot of the format string of the debug statement. Signed-off-by: Zhou Jie --- block/curl.c | 13 +++-- block/sheepdog.c | 13 ++--- 2 files changed, 13 insertions(+), 13