kernel/arch/s390/kernel/early_printk.c
.. .. @@ -10,7 +10,7 @@ 10 10 11 11 static void sclp_early_write(struct console *con, const char *s, unsigned int len) 12 12 { 13 - __sclp_early_printk(s, len, 0);13 + __sclp_early_printk(s, len);14 14 } 15 15 16 16 static struct console sclp_early_console = { .. .. @@ -25,7 +25,7 @@ 25 25 if (early_console) 26 26 return 0; 27 27 /* Accept only "earlyprintk" and "earlyprintk=sclp" */ 28 - if (buf && strncmp(buf, "sclp", 4))28 + if (buf && !str_has_prefix(buf, "sclp"))29 29 return 0; 30 30 if (!sclp.has_linemode && !sclp.has_vt220) 31 31 return 0;