From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Williamson Subject: Re: [PATCH 0/3] device-assigment: cleanup Date: Thu, 24 Feb 2011 15:04:18 -0700 Message-ID: <1298585059.6140.37.camel@x201> References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Juan Quintela Return-path: Received: from mx1.redhat.com ([209.132.183.28]:8875 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752989Ab1BXWEU (ORCPT ); Thu, 24 Feb 2011 17:04:20 -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 p1OM4KUu020437 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 24 Feb 2011 17:04:20 -0500 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Thu, 2011-02-24 at 22:56 +0100, Juan Quintela wrote: > 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(-) > Looks good to me. Acked-by: Alex Williamson