On 3/15/20 5:11 PM, Philippe Mathieu-Daudé wrote: > Replace strtoul() by qemu_strtoul() so checkpatch.pl won't > complain if we move this code later. Increase the slot and > func local variables to unsigned long so that the range check > isn't truncated. Remove the 'e == p' test which is done in > check_strtox_error(), called by qemu_strtoul(). > > Signed-off-by: Philippe Mathieu-Daudé <phi...@redhat.com> > --- > v2: drop the e == p test, do not do modify range check (rth) > --- > hw/core/qdev-properties.c | 25 ++++++++++++------------- > 1 file changed, 12 insertions(+), 13 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~