diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index a5ca293a2755..9c74dca54d82 100644 --- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c @@ -818,7 +818,8 @@ static ssize_t devkmsg_write(struct kiocb *iocb, struct iov_iter *from) } } - if (strncmp("healthd", line, 7) == 0) { + if (unlikely(strncmp("healthd", line, 7) == 0 || strncmp("Trustonic TEE", line, 13) == 0)) + { return len; }