commit | 9b7d9284c3b114112a7759ce0a885df0767fe8d9 | [log] [tgz] |
---|---|---|
author | Nikunj A Dadhania <nikunj@linux.vnet.ibm.com> | Thu Jul 02 16:23:10 2015 +1000 |
committer | Alexander Graf <agraf@suse.de> | Tue Jul 07 17:44:51 2015 +0200 |
tree | dfcf977d852479e176a4c9ac9408aaa277752a16 | |
parent | 4a7c34741584e91aa838a9e45b8ec5cdc65a343b [diff] |
spapr_pci: set device node unit address as hex 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 <nikunj@linux.vnet.ibm.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Alexander Graf <agraf@suse.de>