Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1565039yba; Thu, 4 Apr 2019 13:25:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqw3way1Iz9wgVa4mZph126qV42e+c7HMEL48c1iePVEEUL90MsOzv4USzsXJTkVq8nPPvoq X-Received: by 2002:a63:ef09:: with SMTP id u9mr7935972pgh.126.1554409520651; Thu, 04 Apr 2019 13:25:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554409520; cv=none; d=google.com; s=arc-20160816; b=cnAVn+g5V8b5MhbkQuhxh0AMCkNIEhNj5GEqoV0F8AFB2jHyptC2NJcPHXm82HlEKF okxKWpBydmwoLlSj0X6jNB3MUBc6PhUHi4zzqxaOsrQLzQE0h8c9d+0WLvH8cv3PvXNR 94k3XVyFfNmtUZUkmZG6eZL+dDQwN8SXYKpe33ioFbXr7SRsoVCDi8baiyeZTUXYMQhF i2fVJLJO663tipMNqbVGqXBRmEyEjezMOTK5jLwVxmStZtfG3kxgXl6ynPkBuZVHEL71 n7CYO7xAOJ2YWQBOMxqx0jMydYAlrMNQWWVYOitQ5bQb/dDsrXLhHS/BgeFhOWdAWyiK IW/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=GUeK5e9fbpziVNa/CkuFSdrJGOZ9wu9fOIv3hqfCjnE=; b=Pn2Kf/lZhIHA8vTn6chMuyYnlHZwaQyHzetJojk7WTKWmWPiCcLBNGC7a+Ug/TF9Em 1wi+0HnH8waP3RnKCf9byn3c+nivuvzyRofnuo+KdwfsJIYVGJI1bwNkauP7Gu6CqJu8 z5D91p6bDFDDvl51yiqatN2rEaL/Cu+RRD4MYetpPLHv0GhMwGt2WmRo0enChNi+gVAI XCo5fZFjLq4dO5Q+KGqXxM/BwREjZzTAuXfCFGerrRIko00945vt7ycpNhUXH4AAOa02 2dO8t4FQ71nDZ4phX+etKfLvTMm5Ie08N3vXbcdjb+049mLOhB2JT5OfE7/mqep7jF9e fG6Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d186si17399435pfa.218.2019.04.04.13.25.04; Thu, 04 Apr 2019 13:25:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729839AbfDDSzZ (ORCPT + 99 others); Thu, 4 Apr 2019 14:55:25 -0400 Received: from smtprelay0163.hostedemail.com ([216.40.44.163]:34529 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727398AbfDDSzZ (ORCPT ); Thu, 4 Apr 2019 14:55:25 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay05.hostedemail.com (Postfix) with ESMTP id E60031802EFE0; Thu, 4 Apr 2019 18:55:22 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::::::::::::::::::::::::::,RULES_HIT:41:355:379:599:800:960:973:988:989:1260:1277:1311:1313:1314:1345:1359: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:3867:3870:3871:3874:4321:5007:6742:10004:10400:10848:11026:11232:11473:11657:11658:11914:12043:12050:12438:12555:12740:12760:12895:13019:13069:13161:13229:13255:13311:13357:13439:14180:14181:14659:14721:21060:21080:21324:21627:30054:30090:30091,0,RBL:47.151.153.53:@perches.com:.lbl8.mailshell.net-62.8.0.100 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:28,LUA_SUMMARY:none X-HE-Tag: hope54_11554c3f8d22c X-Filterd-Recvd-Size: 3107 Received: from XPS-9350.home (unknown [47.151.153.53]) (Authenticated sender: joe@perches.com) by omf11.hostedemail.com (Postfix) with ESMTPA; Thu, 4 Apr 2019 18:55:18 +0000 (UTC) Message-ID: Subject: Re: [PATCH] drm/panel: Rocktech jh057n00900: Add terminating newlines to logging From: Joe Perches To: Sam Ravnborg Cc: Guido =?ISO-8859-1?Q?G=FCnther?= , Thierry Reding , David Airlie , Daniel Vetter , Rob Herring , Mark Rutland , Kevin Hilman , Manivannan Sadhasivam , Shawn Guo , Jagan Teki , Martin Blumenstingl , Johan Hovold , "David S. Miller" , Mauro Carvalho Chehab , Greg Kroah-Hartman , Nicolas Ferre , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Date: Thu, 04 Apr 2019 11:55:17 -0700 In-Reply-To: <20190404170040.GA23897@ravnborg.org> References: <20190403161735.GN5238@ulmo> <1ed5eb3af4df6b2dd1544c7b696e034ed5c94f06.camel@perches.com> <20190404105359.GA8255@bogon.m.sigxcpu.org> <20190404170040.GA23897@ravnborg.org> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.30.1-1build1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2019-04-04 at 19:00 +0200, Sam Ravnborg wrote: > Hi Joe. > > On Thu, Apr 04, 2019 at 08:06:09AM -0700, Joe Perches wrote: > > These were missing '\n' terminations, add them. > > > > Signed-off-by: Joe Perches > > --- > > drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c | 19 ++++++++++--------- > > 1 file changed, 10 insertions(+), 9 deletions(-) > > > > diff --git a/drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c b/drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c > > index 158a6d548068..d88ea8da2ec2 100644 > > --- a/drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c > > +++ b/drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c > > @@ -123,7 +123,7 @@ static int jh057n_init_sequence(struct jh057n *ctx) > > > > ret = mipi_dsi_dcs_exit_sleep_mode(dsi); > > if (ret < 0) { > > - DRM_DEV_ERROR(dev, "Failed to exit sleep mode"); > > + DRM_DEV_ERROR(dev, "Failed to exit sleep mode\n"); > > I was under the impression that newlines was optional these days. > Should we always use them with logging? Yes. The general problem is KERN_CONT/pr_cont uses where interleaving is still possible from multiple threads. > I did not find any obvious clues in linux/printk.h I'll see about adding something one day to the Documentation. Likely in coding-style.rst.