The patch titled Subject: printk/btrfs: Fix a check of the valid message level has been added to the -mm tree. Its filename is printk-btrfs-handle-more-message-headers-fix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/printk-btrfs-handle-more-message-headers-fix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/printk-btrfs-handle-more-message-headers-fix.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Petr Mladek <pmladek@xxxxxxxx> Subject: printk/btrfs: Fix a check of the valid message level Huh, this was a childish mistake. Link: http://lkml.kernel.org/r/20161111183236.GD2145@xxxxxxxxxxxxxxx Signed-off-by: Petr Mladek <pmladek@xxxxxxxx> Reported-by: Steven Rostedt <rostedt@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/btrfs/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN fs/btrfs/super.c~printk-btrfs-handle-more-message-headers-fix fs/btrfs/super.c --- a/fs/btrfs/super.c~printk-btrfs-handle-more-message-headers-fix +++ a/fs/btrfs/super.c @@ -214,7 +214,7 @@ void btrfs_printk(const struct btrfs_fs_ while ((kern_level = printk_get_level(fmt)) != 0) { size_t size = printk_skip_level(fmt) - fmt; - if (kern_level >= '0' || kern_level <= '7') { + if (kern_level >= '0' && kern_level <= '7') { memcpy(lvl, fmt, size); lvl[size] = '\0'; type = logtypes[kern_level - '0']; _ Patches currently in -mm which might be from pmladek@xxxxxxxx are printk-nmi-handle-continuous-lines-and-missing-newline.patch printk-kdb-handle-more-message-headers.patch printk-btrfs-handle-more-message-headers.patch printk-btrfs-handle-more-message-headers-fix.patch printk-sound-handle-more-message-headers.patch printk-sound-handle-more-message-headers-fix.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html