diff options
author | Nathan Lynch <nathanl@linux.ibm.com> | 2024-06-03 21:31:32 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2024-06-04 09:13:56 +0200 |
commit | 11e6e6d8bf8f908468bac0447727e3f3923c8512 (patch) | |
tree | ad66d401dfde3778aa807e03992fedba8203ac56 | |
parent | powerpc/pseries/vas: Use usleep_range() to support HCALL delay (diff) | |
download | linux-11e6e6d8bf8f908468bac0447727e3f3923c8512.tar.xz linux-11e6e6d8bf8f908468bac0447727e3f3923c8512.zip |
powerpc/mm/drmem: Silence drmem_init() early return
It's not an error or noteworthy condition if the
"ibm,dynamic-reconfiguration-memory" node isn't present.
Drop the needless message.
Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240603-silence-drmem_init-v1-1-e9d71646bc3d@linux.ibm.com
-rw-r--r-- | arch/powerpc/mm/drmem.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/powerpc/mm/drmem.c b/arch/powerpc/mm/drmem.c index c110ab8fa8a3..8dd7b340d51f 100644 --- a/arch/powerpc/mm/drmem.c +++ b/arch/powerpc/mm/drmem.c @@ -491,10 +491,8 @@ static int __init drmem_init(void) const __be32 *prop; dn = of_find_node_by_path("/ibm,dynamic-reconfiguration-memory"); - if (!dn) { - pr_info("No dynamic reconfiguration memory found\n"); + if (!dn) return 0; - } if (init_drmem_lmb_size(dn)) { of_node_put(dn); |