From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755241AbcJGUUV (ORCPT ); Fri, 7 Oct 2016 16:20:21 -0400 Received: from smtprelay0141.hostedemail.com ([216.40.44.141]:56273 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753254AbcJGUUL (ORCPT ); Fri, 7 Oct 2016 16:20:11 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::,RULES_HIT:41:355:379:541:599:800:960:968:973:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2553:2559:2562:2828:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3868:3872:3874:4321:5007:6691:7903:10004:10400:10848:11232:11658:11914:12296:12555:12740:12760:13069:13311:13357:13439:14181:14254:14659:14721:21080:30001:30002:30003:30004:30005:30006:30007:30008:30009:30010:30011:30012:30013:30014:30015:30016:30017:30018:30019:30020:30021:30022:30023:30024:30025:30026:30027:30028:30029:30030:30031:30032:30033:30034:30035:30036:30037:30038:30039:30040:30041:30042:30043:30044:30045:30046:30047:30048:30049:30050:30051:30052:30053:30054:30055:30057:30058:30059:30060:30061:30062:30063:30064:30065:30066:30067:30068:30069:30070:30071:30072:30073:30074:30075:30076:30077:30078:30079:30080:30081:30082:30083:30084:30085:30086:30087:30088:30089:30090:30091,0,RBL:none,C X-HE-Tag: rake01_4e9c771435205 X-Filterd-Recvd-Size: 2130 Message-ID: <1475871538.1945.15.camel@perches.com> Subject: Re: [GIT PULL] trivial for 4.9 From: Joe Perches To: Linus Torvalds Cc: Jiri Kosina , Colin Ian King , Linux Kernel Mailing List Date: Fri, 07 Oct 2016 13:18:58 -0700 In-Reply-To: References: <1475870688.1945.13.camel@perches.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.22.0-2ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2016-10-07 at 13:13 -0700, Linus Torvalds wrote: > On Fri, Oct 7, 2016 at 1:04 PM, Joe Perches wrote: > > Any printk without a KERN_ prefix, and there > > are still many of those, can cause random interleaving. > How about people actually work on *that* instead of working around it? > Because the above really should not be true. > > Not at all. Until printk KERN_ uses are mandated, > > then these newlines are still useful. > The patches literally added those '\n' things to the pr_xyz() routines > that *enforce* KERN_. No, because any of those can be followed by a bare printk or a pr_cont that continues the original line. > So really. It's a step backwards. We shouldn't need them. We should > *remove* '\n' at the end, and then if that actually causes problems, > we should fix those problems. $ git grep -w printk * | grep -v "^tools" | grep -v KERN | wc -l 13176 Have at it but here are _far_ fewer missing newlines and it'd be much lower churn to fix those than remove all the newlines and fix the missing continuations.