diff options
author | Nikunj A Dadhania <nikunj@linux.vnet.ibm.com> | 2015-07-02 16:23:10 +1000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2015-07-07 17:44:51 +0200 |
commit | 9b7d9284c3b114112a7759ce0a885df0767fe8d9 (patch) | |
tree | dfcf977d852479e176a4c9ac9408aaa277752a16 /hw/char/grlib_apbuart.c | |
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>
Diffstat (limited to 'hw/char/grlib_apbuart.c')
0 files changed, 0 insertions, 0 deletions