Skip to content

Commit 12870ae

Browse files
nathanlynchmpe
authored andcommitted
powerpc/pseries/lparcfg: drop error message from guest name lookup
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. Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com> Fixes: eddaa9a ("powerpc/pseries: read the lpar name from the firmware") Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20240524-lparcfg-updates-v2-1-62e2e9d28724@linux.ibm.com
1 parent b1e7cee commit 12870ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/powerpc/platforms/pseries/lparcfg.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,8 +371,8 @@ static int read_dt_lpar_name(struct seq_file *m)
371371

372372
static void read_lpar_name(struct seq_file *m)
373373
{
374-
if (read_rtas_lpar_name(m) && read_dt_lpar_name(m))
375-
pr_err_once("Error can't get the LPAR name");
374+
if (read_rtas_lpar_name(m))
375+
read_dt_lpar_name(m);
376376
}
377377

378378
#define SPLPAR_MAXLENGTH 1026*(sizeof(char))

0 commit comments

Comments
 (0)