Skip to content

Commit 4056822

Browse files
YaroST12Forenche
authored andcommitted
printk: filter out some more charging related logspam
Signed-off-by: Yaroslav Furman <yaro330@gmail.com> Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com> Signed-off-by: Fiqri Ardyansyah <fiqri15072019@gmail.com> Signed-off-by: Forenche <prahul2003@gmail.com>
1 parent d49dad6 commit 4056822

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

kernel/printk/printk.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -813,6 +813,7 @@ static ssize_t devkmsg_write(struct kiocb *iocb, struct iov_iter *from)
813813
line = endp;
814814
if (strstr(line, "healthd") ||
815815
strstr(line, "cacert") ||
816+
strcmp(line, "CP: Couldn't") ||
816817
strncmp(line, "logd: Skipping", sizeof("logd: Skipping")))
817818
goto free;
818819
}

0 commit comments

Comments
 (0)