From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juan Quintela Subject: [PATCH 0/3] device-assigment: cleanup Date: Thu, 24 Feb 2011 22:56:17 +0100 Message-ID: Cc: alex.williamson@redhat.com To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:52948 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752989Ab1BXV4X (ORCPT ); Thu, 24 Feb 2011 16:56:23 -0500 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p1OLuMdV018407 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 24 Feb 2011 16:56:22 -0500 Sender: kvm-owner@vger.kernel.org List-ID: Hi This series just: - use qemu_mallocz() everywhere. - remove NULL tests for qemu_mallocz(). - change all container_of to DO_UPCAST() (there were both of them). Later, Juan. Juan Quintela (3): device-assignment: Use qemu_mallocz() instead of calloc() device-assignment: Be consistent and use DO_UPCAST everywhere device-assignment: remove qemu_mallocz() test hw/device-assignment.c | 39 +++++++++++++-------------------------- 1 files changed, 13 insertions(+), 26 deletions(-) -- 1.7.4