From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH 0/3] device-assigment: cleanup Date: Tue, 1 Mar 2011 17:31:17 -0300 Message-ID: <20110301203117.GA9111@amt.cnet> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, alex.williamson@redhat.com To: Juan Quintela Return-path: Received: from mx1.redhat.com ([209.132.183.28]:17087 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757370Ab1CAUhj (ORCPT ); Tue, 1 Mar 2011 15:37:39 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p21Kbdc9007845 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 1 Mar 2011 15:37:39 -0500 Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Thu, Feb 24, 2011 at 10:56:17PM +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(-) Applied, thanks.