Re: [PATCH kvm-unit-tests 0/2] Introduce strtoll/strtoull

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

 



On 13/10/21 18:42, Andrew Jones wrote:
A recent posting by Daniele Ahmed inspired me to write a patch adding
strtoll/strtoull. While doing that I noticed check_mul_overflow wasn't
working and found copy+paste errors with it and check_sub_overflow.

Andrew Jones (2):
   compiler.h: Fix typos in mul and sub overflow checks
   lib: Introduce strtoll/strtoull

  lib/linux/compiler.h |  4 ++--
  lib/stdlib.h         |  2 ++
  lib/string.c         | 51 ++++++++++++++++++++++++++++++++------------
  3 files changed, 41 insertions(+), 16 deletions(-)


Queued, thanks.

Paolo




[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