Message ID | 20240524-lparcfg-updates-v2-1-62e2e9d28724@linux.ibm.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 12870ae3818e39ea65bf710f645972277b634f72 |
Headers | show |
Series | [v2] powerpc/pseries/lparcfg: drop error message from guest name lookup | 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 Fri, 24 May 2024 14:29:54 -0500, Nathan Lynch wrote: > It's not an error or exceptional situation when the hosting > environment does not expose a name for the LP/guest via RTAS or the > device tree. This happens with qemu when run without the '-name' > option. The message also lacks a newline. Remove it. > > Applied to powerpc/fixes. [1/1] powerpc/pseries/lparcfg: drop error message from guest name lookup https://git.kernel.org/powerpc/c/12870ae3818e39ea65bf710f645972277b634f72 cheers
diff --git a/arch/powerpc/platforms/pseries/lparcfg.c b/arch/powerpc/platforms/pseries/lparcfg.c index 6e7029640c0c..62da20f9700a 100644 --- a/arch/powerpc/platforms/pseries/lparcfg.c +++ b/arch/powerpc/platforms/pseries/lparcfg.c @@ -371,8 +371,8 @@ static int read_dt_lpar_name(struct seq_file *m) static void read_lpar_name(struct seq_file *m) { - if (read_rtas_lpar_name(m) && read_dt_lpar_name(m)) - pr_err_once("Error can't get the LPAR name"); + if (read_rtas_lpar_name(m)) + read_dt_lpar_name(m); } #define SPLPAR_MAXLENGTH 1026*(sizeof(char))