Received: from eggs.gnu.org ([2001:4830:134:3::10]:42094) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wnw3t-0001yY-Q0 for qemu-devel@nongnu.org; Fri, 23 May 2014 16:27:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wnw3o-0005J0-Af for qemu-devel@nongnu.org; Fri, 23 May 2014 16:27:29 -0400 Message-ID: <537FAF29.3080600@msgid.tls.msk.ru> Date: Sat, 24 May 2014 00:27:21 +0400 From: Michael Tokarev MIME-Version: 1.0 References: <1400631039-7208-1-git-send-email-tamlokveer@gmail.com> <1400631039-7208-3-git-send-email-tamlokveer@gmail.com> In-Reply-To: <1400631039-7208-3-git-send-email-tamlokveer@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Qemu-trivial] [PATCH 2/2] block: replace fprintf(stderr, ...) with error_report() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Le Tan , qemu-devel@nongnu.org Cc: Kevin Wolf , peter.crosthwaite@xilinx.com, qemu-trivial@nongnu.org, jan.kiszka@web.de, Stefan Hajnoczi , afaerber@suse.de 21.05.2014 04:10, Le Tan wrote: > Replace fprintf(stderr,...) with error_report() in files block/*, block.c, > block-migration.c and blockdev.c. The trailing "\n"s of the @fmt argument > have been removed because @fmt of error_report() should not contain newline. > > Signed-off-by: Le Tan > --- > block-migration.c | 5 +-- > block.c | 4 +- > block/qcow2-refcount.c | 114 ++++++++++++++++++++++++------------------------ > block/qcow2.c | 18 ++++---- > block/raw-posix.c | 10 ++--- > block/raw-win32.c | 6 +-- > block/ssh.c | 2 +- > block/vdi.c | 15 ++++--- > block/vmdk.c | 15 +++---- > block/vpc.c | 4 +- > block/vvfat.c | 69 +++++++++++++++-------------- > blockdev.c | 6 +-- > 12 files changed, 132 insertions(+), 136 deletions(-) That's a rather large -trivial patch... ;) Please check this patch using ./tools/checkpatch.pl - it will show many whitespace issues. I'd apply it to -trivial (after fixing the whitespace issues), all the actual changes look sane. But Cc'ing kwolf and stefanha too (who are the block subsystem maintainers), because the patch touches too many of block code. Thanks, /mjt