Received: from eggs.gnu.org ([2001:4830:134:3::10]:55497) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0COL-0003hK-IS for qemu-devel@nongnu.org; Wed, 03 Jun 2015 13:23:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z0COI-0003yH-RD for qemu-devel@nongnu.org; Wed, 03 Jun 2015 13:23:49 -0400 Date: Wed, 3 Jun 2015 19:23:39 +0200 From: Thomas Huth Message-ID: <20150603192339.05a6f5e7@thh440s> In-Reply-To: <1433330757-6043-5-git-send-email-nikunj@linux.vnet.ibm.com> References: <1433330757-6043-1-git-send-email-nikunj@linux.vnet.ibm.com> <1433330757-6043-5-git-send-email-nikunj@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v6 4/6] spapr_pci: set device node unit address as hex List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Nikunj A Dadhania Cc: qemu-devel@nongnu.org, aik@ozlabs.ru, agraf@suse.de, mdroth@linux.vnet.ibm.com, qemu-ppc@nongnu.org, david@gibson.dropbear.id.au On Wed, 3 Jun 2015 16:55:55 +0530 Nikunj A Dadhania wrote: > Device node names should encode the unit address as hex, while the > code was encodind it as integers. > > Also, use FDT_NAME_MAX macro for allocating and composing the name. > > Signed-off-by: Nikunj A Dadhania > --- > hw/ppc/spapr_pci.c | 12 +++++++----- > 1 file changed, 7 insertions(+), 5 deletions(-) Reviewed-by: Thomas Huth