Searched hist:cb45de67 (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/qapi/ |
H A D | opts-visitor.c | cb45de67 Mon Apr 28 00:53:49 CDT 2014 Amos Kong <akong@redhat.com> qapi: treat all negative return of strtosz_suffix() as error strtosz_suffix() might return negative error, this patch fixes the error handling. This patch also changes to handle error in the if statement rather than handle success specially, this will make this use of strtosz_suffix consistent with all other uses. Signed-off-by: Amos Kong <akong@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
|