From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60257) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwTh3-00008x-4Z for qemu-devel@nongnu.org; Mon, 16 Jun 2014 05:59:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WwTgv-0002ed-M1 for qemu-devel@nongnu.org; Mon, 16 Jun 2014 05:59:13 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37880) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwTgv-0002eS-7T for qemu-devel@nongnu.org; Mon, 16 Jun 2014 05:59:05 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s5G9x3Qk007524 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 16 Jun 2014 05:59:04 -0400 From: Juan Quintela Date: Mon, 16 Jun 2014 11:58:23 +0200 Message-Id: <1402912703-28195-28-git-send-email-quintela@redhat.com> In-Reply-To: <1402912703-28195-1-git-send-email-quintela@redhat.com> References: <1402912703-28195-1-git-send-email-quintela@redhat.com> Subject: [Qemu-devel] [PATCH 27/27] vmstate: s/VMSTATE_INT32_LE/VMSTATE_INT32_POSITIVE_LE/ List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: "Michael S. Tsirkin" From: "Michael S. Tsirkin" As the macro verifies the value is positive, rename it to make the function clearer. Signed-off-by: Michael S. Tsirkin Signed-off-by: Juan Quintela --- tests/test-vmstate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-vmstate.c b/tests/test-vmstate.c index f2f59c9..8b735c3 100644 --- a/tests/test-vmstate.c +++ b/tests/test-vmstate.c @@ -375,7 +375,7 @@ static const VMStateDescription vmstate_simple_compare = { VMSTATE_UINT32_EQUAL(u32_1, TestSimple), VMSTATE_UINT64_EQUAL(u64_1, TestSimple), VMSTATE_INT32_EQUAL(i32_2, TestSimple), - VMSTATE_INT32_LE(i32_1, TestSimple), + VMSTATE_INT32_POSITIVE_LE(i32_1, TestSimple), VMSTATE_END_OF_LIST() } }; -- 1.9.3