From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34791) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZuULC-0006gd-5x for qemu-devel@nongnu.org; Thu, 05 Nov 2015 18:53:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZuULB-0000Kl-0b for qemu-devel@nongnu.org; Thu, 05 Nov 2015 18:53:14 -0500 From: John Snow Date: Thu, 5 Nov 2015 18:53:01 -0500 Message-Id: <1446767584-13132-1-git-send-email-jsnow@redhat.com> Subject: [Qemu-devel] [PATCH v4 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. v4: - Now missing ALL sweaters 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-v4: https://github.com/jnsnow/qemu/releases/tag/qemu-io-tidy-v4 John Snow (3): qemu-io: fix cvtnum lval types qemu-io: Check for trailing chars qemu-io: Correct error messages qemu-io-cmds.c | 185 ++++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 129 insertions(+), 56 deletions(-) -- 2.4.3