From: =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= Subject: [kvm-unit-tests PATCH 0/6] improve report/printf formatting Date: Wed, 17 May 2017 22:13:59 +0200 Message-ID: <20170517201405.19867-1-rkrcmar@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Paolo Bonzini To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:33616 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751492AbdEQUPI (ORCPT ); Wed, 17 May 2017 16:15:08 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7A9B2C04B926 for ; Wed, 17 May 2017 20:15:08 +0000 (UTC) Sender: kvm-owner@vger.kernel.org List-ID: This series is a mix of three logical units: [1-2/6]: add format checking to report() and fix revealed bugs [3/6]: fix padding in %p conversions [4-6/6]: fix random 0x%d and support %# to make this mistake harder Radim Krčmář (6): fix conversions in report()s libcflat: add format checking to report() libcflat: fix padding in printf pci-edu: remove 0x before a decimal value libcflat: support # flag in printf use %# instead of 0x% in all format strings arm/pmu.c | 2 +- arm/selftest.c | 2 +- lib/alloc.c | 10 +++++----- lib/arm64/processor.c | 6 +++--- lib/libcflat.h | 18 ++++++++++++------ lib/pci-edu.c | 2 +- lib/pci.c | 6 +++--- lib/powerpc/processor.c | 2 +- lib/printf.c | 20 ++++++++++++++++++-- lib/x86/desc.c | 2 +- lib/x86/intel-iommu.c | 16 ++++++++-------- lib/x86/vm.c | 4 ++-- powerpc/emulator.c | 4 ++-- powerpc/selftest.c | 2 +- powerpc/spapr_hcall.c | 2 +- powerpc/sprs.c | 4 ++-- x86/asyncpf.c | 6 +++--- x86/hyperv_synic.c | 2 +- x86/msr.c | 4 ++-- x86/tsc.c | 2 +- x86/vmexit.c | 2 +- x86/vmx.c | 14 +++++++------- x86/vmx.h | 4 ++-- x86/vmx_tests.c | 2 +- x86/xsave.c | 2 +- 25 files changed, 81 insertions(+), 59 deletions(-) -- 2.13.0