From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44666) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqrS7-0006bX-FP for qemu-devel@nongnu.org; Mon, 26 Oct 2015 19:45:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZqrS6-0006xB-4w for qemu-devel@nongnu.org; Mon, 26 Oct 2015 19:45:23 -0400 From: John Snow Date: Mon, 26 Oct 2015 19:45:11 -0400 Message-Id: <1445903114-22566-1-git-send-email-jsnow@redhat.com> Subject: [Qemu-devel] [PATCH v2 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. 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-v2: https://github.com/jnsnow/qemu/releases/tag/qemu-io-tidy-v2 John Snow (3): qemu-io: fix cvtnum lval types qemu-io: Check for trailing chars qemu-io: Correct error messages qemu-io-cmds.c | 93 +++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 59 insertions(+), 34 deletions(-) -- 2.4.3