[kvm-unit-tests PATCH 0/6] improve report/printf formatting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux