Skip to content

Introduce strtoll/strtoull

Andrew Jones kvm 1 version Applied

Status from this message: Queued, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2compiler.h: Fix typos in mul and sub overflow checkslib/linux/compiler.h+2 -21 reply
2/2lib: Introduce strtoll/strtoulllib/stdlib.h lib/string.c+39 -141 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchDaniele Ahmed
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH kvm-unit-tests 0/2] Introduce strtoll/strtoull

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(-)
Signature · 1 line
2.31.1