diff options
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/powerpc/platforms/pseries/pmem.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/pseries/pmem.c b/arch/powerpc/platforms/pseries/pmem.c index a27f40eb57b1..27f0a915c8a9 100644 --- a/arch/powerpc/platforms/pseries/pmem.c +++ b/arch/powerpc/platforms/pseries/pmem.c | |||
| @@ -52,8 +52,8 @@ static ssize_t pmem_drc_add_node(u32 drc_index) | |||
| 52 | /* NB: The of reconfig notifier creates platform device from the node */ | 52 | /* NB: The of reconfig notifier creates platform device from the node */ |
| 53 | rc = dlpar_attach_node(dn, pmem_node); | 53 | rc = dlpar_attach_node(dn, pmem_node); |
| 54 | if (rc) { | 54 | if (rc) { |
| 55 | pr_err("Failed to attach node %s, rc: %d, drc index: %x\n", | 55 | pr_err("Failed to attach node %pOF, rc: %d, drc index: %x\n", |
| 56 | dn->name, rc, drc_index); | 56 | dn, rc, drc_index); |
| 57 | 57 | ||
| 58 | if (dlpar_release_drc(drc_index)) | 58 | if (dlpar_release_drc(drc_index)) |
| 59 | dlpar_free_cc_nodes(dn); | 59 | dlpar_free_cc_nodes(dn); |
| @@ -93,8 +93,8 @@ static ssize_t pmem_drc_remove_node(u32 drc_index) | |||
| 93 | 93 | ||
| 94 | rc = dlpar_release_drc(drc_index); | 94 | rc = dlpar_release_drc(drc_index); |
| 95 | if (rc) { | 95 | if (rc) { |
| 96 | pr_err("Failed to release drc (%x) for CPU %s, rc: %d\n", | 96 | pr_err("Failed to release drc (%x) for CPU %pOFn, rc: %d\n", |
| 97 | drc_index, dn->name, rc); | 97 | drc_index, dn, rc); |
| 98 | dlpar_attach_node(dn, pmem_node); | 98 | dlpar_attach_node(dn, pmem_node); |
| 99 | return rc; | 99 | return rc; |
| 100 | } | 100 | } |
