diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index d224961e134644aaf05d116acc742c2b28ee0db9..d2a2e4bc2435984315ea70bddad74160affe353b 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h @@ -349,7 +349,8 @@ struct earlycon_device { }; struct earlycon_id { - char name[16]; + char name[15]; + char name_term; /* In case compiler didn't '\0' term name */ char compatible[128]; int (*setup)(struct earlycon_device *, const char *options); } __aligned(32);