Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752797AbcJLB3q (ORCPT ); Tue, 11 Oct 2016 21:29:46 -0400 Received: from smtprelay0014.hostedemail.com ([216.40.44.14]:33113 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752512AbcJLB3p (ORCPT ); Tue, 11 Oct 2016 21:29:45 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::,RULES_HIT:41:69:355:379:541:800:960:968:973:988:989:1260:1277:1311:1313:1314:1345:1373:1437:1515:1516:1518:1534:1542:1593:1594:1711:1730:1747:1777:1792:2198:2199:2393:2553:2559:2562:2693:2828:2895:2907:3138:3139:3140:3141:3142:3353:3865:3866:3867:3868:3870:3871:3872:3873:3874:4321:5007:7264:7903:10004:10400:10848:11658:11783:11914:12043:12114:12262:12296:12438:12555:12679:12683:12740:13095:13161:13181:13229:13255:13439:13870:13894:14096:14097:14110:14181:14659:14721:21067:21080:21365:21433:21451:30012:30054:30070:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:3,LUA_SUMMARY:none X-HE-Tag: pail95_71fd8c15a5f4e X-Filterd-Recvd-Size: 2745 Message-ID: <1476235782.2116.5.camel@perches.com> Subject: fyi: Recent commits require printk("fmt", ...) -> printk(PR_CONT/pr_cont( conversions From: Joe Perches To: LKML Cc: Mauro Carvalho Chehab , "Theodore Ts'o" Date: Tue, 11 Oct 2016 18:29:42 -0700 Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.22.0-2ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2025 Lines: 52 Linus merged this recently (unfortunately without cc'ing LKML) ---------------------------------------------------------------------------- commit 563873318d328d9bbab4b00dfd835ac7c7e28697 Merge: 24532f768121 bfd8d3f23b51 Author: Linus Torvalds Date:???Mon Oct 10 09:29:50 2016 -0700 Merge branch 'printk-cleanups' Merge my system logging cleanups, triggered by the broken '\n' patches. The line continuation handling has been broken basically forever, and the code to handle the system log records was both confusing and dubious.??And it would do entirely the wrong thing unless you always had a terminating newline, partly because it couldn't actually see whether a message was marked KERN_CONT or not (but partly because the LOG_CONT handling in the recording code was rather confusing too). This re-introduces a real semantically meaningful KERN_CONT, and fixes the few places I noticed where it was missing.??There are probably more missing cases, since KERN_CONT hasn't actually had any semantic meaning for at least four years (other than the checkpatch meaning of "no log level necessary, this is a continuation line"). ---------------------------------------------------------------------------- These changes are not bad as they allow a message to remove the now unnecessary terminating newline or not have the newline added in the first place. But there is also a modified behavior to existing logging message code. Given the new behavior of bare printk that continues a line now requires a PR_CONT. There are several places that will need update to have the same logging output as before this series. For instance: fs/ext4/super.c mm/page_alloc.c And many files in these directories: drivers/media/ drivers/gpu/ drivers/block/ and other directories as well.' Many drivers for ancient and out of production hardware, and the old, crufty, and unmaintained drivers also have this issue, but likely no one will be impacted by this change to those driver's logging code.