Message ID | 20240603-silence-drmem_init-v1-1-e9d71646bc3d@linux.ibm.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 11e6e6d8bf8f908468bac0447727e3f3923c8512 |
Headers | show |
Series | powerpc/mm/drmem: Silence drmem_init() early return | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/github-powerpc_ppctests | success | Successfully ran 8 jobs. |
snowpatch_ozlabs/github-powerpc_selftests | success | Successfully ran 8 jobs. |
snowpatch_ozlabs/github-powerpc_sparse | success | Successfully ran 4 jobs. |
snowpatch_ozlabs/github-powerpc_clang | success | Successfully ran 6 jobs. |
snowpatch_ozlabs/github-powerpc_kernel_qemu | success | Successfully ran 23 jobs. |
On Mon, 03 Jun 2024 14:31:32 -0500, Nathan Lynch wrote: > It's not an error or noteworthy condition if the > "ibm,dynamic-reconfiguration-memory" node isn't present. > > Drop the needless message. > > Applied to powerpc/next. [1/1] powerpc/mm/drmem: Silence drmem_init() early return https://git.kernel.org/powerpc/c/11e6e6d8bf8f908468bac0447727e3f3923c8512 cheers
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);