From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47332) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUuUr-0007vK-Mz for qemu-devel@nongnu.org; Wed, 03 Aug 2016 07:38:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUuUn-0001eq-LZ for qemu-devel@nongnu.org; Wed, 03 Aug 2016 07:38:01 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37918) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUuUn-0001eP-FD for qemu-devel@nongnu.org; Wed, 03 Aug 2016 07:37:57 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4DDBB793C1 for ; Wed, 3 Aug 2016 11:37:56 +0000 (UTC) Received: from blackfin.pond.sub.org (ovpn-116-22.ams2.redhat.com [10.36.116.22]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u73BbsDY018420 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 3 Aug 2016 07:37:55 -0400 From: Markus Armbruster Date: Wed, 3 Aug 2016 13:37:50 +0200 Message-Id: <1470224274-31522-1-git-send-email-armbru@redhat.com> Subject: [Qemu-devel] [PATCH 0/4] error: Newline fixes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Markus Armbruster (4): error: Strip trailing '\n' from error string arguments (again) checkpatch: Fix newline detection in error_setg() & friends vfio: Use error_report() instead of error_printf() for errors error: Fix error_printf() calls lacking newlines hw/i386/pc.c | 2 +- hw/mips/cps.c | 2 +- hw/nvram/fw_cfg.c | 2 +- hw/ppc/spapr_cpu_core.c | 2 +- hw/vfio/platform.c | 2 +- kvm-all.c | 2 +- qemu-img.c | 4 ++-- scripts/checkpatch.pl | 5 ++++- scripts/coccinelle/err-bad-newline.cocci | 29 +++++++++++++++++++++++++++++ slirp/slirp.c | 8 ++++---- target-i386/kvm.c | 2 +- ui/vnc.c | 2 +- 12 files changed, 47 insertions(+), 15 deletions(-) create mode 100644 scripts/coccinelle/err-bad-newline.cocci -- 2.5.5