From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50245) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ztllx-0006BG-Cl for qemu-devel@nongnu.org; Tue, 03 Nov 2015 19:17:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ztllw-0007Fp-33 for qemu-devel@nongnu.org; Tue, 03 Nov 2015 19:17:53 -0500 From: John Snow Date: Tue, 3 Nov 2015 19:17:39 -0500 Message-Id: <1446596262-15328-1-git-send-email-jsnow@redhat.com> Subject: [Qemu-devel] [PATCH v3 0/3] qemu-io: clean up cvtnum usage List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-block@nongnu.org Cc: kwolf@redhat.com, John Snow , qemu-devel@nongnu.org, mreitz@redhat.com cvtnum returns an int64_t, not an int, so correct the lvalue types wherever it is used. While we're at it, make the error messages more meaningful and hopefully less confusing. v3: - pulled a lot of loose yarn, now missing my sweater (Updated patch 1 even further, reported-by Kevin) v2: - Squashed NSIG error-checking from patch 3 into patch 1 - Reported-by credits for Max and Reviewed-by from Eric added ________________________________________________________________________________ For convenience, this branch is available at: https://github.com/jnsnow/qemu.git branch qemu-io-tidy https://github.com/jnsnow/qemu/tree/qemu-io-tidy This version is tagged qemu-io-tidy-v3: https://github.com/jnsnow/qemu/releases/tag/qemu-io-tidy-v3 John Snow (3): qemu-io: fix cvtnum lval types qemu-io: Check for trailing chars qemu-io: Correct error messages qemu-io-cmds.c | 150 ++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 95 insertions(+), 55 deletions(-) -- 2.4.3