Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1338703yba; Thu, 4 Apr 2019 08:49:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqwl8EGu4gJhFp74zLAdi1uEvkCXxmj4wzD6JbjwRNRR12sT5SUq3Y5axEdeoMsQzUpu0KWp X-Received: by 2002:a17:902:d889:: with SMTP id b9mr7176799plz.294.1554392998915; Thu, 04 Apr 2019 08:49:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554392998; cv=none; d=google.com; s=arc-20160816; b=inY5UVYlthGrSsEmOOA4eYrj7+5R5fmWOw8Db4FlfUByMgtu2FLH1WX1HXtiwEm785 9KKR5YsoES7pQjJ+3c4tEHJyAWc3z/CUwr+fQgmAlSyOVtEX15tfN1GtidMusaF45Im6 H7vQD4hSGX+W62mt15OMOu8NEZzM16wShP0r7KFuQzBtN2qyjG90iyzttw93A9kEAjfL WKERlhwTsiRAaGsNJCkBXSt1+yZ1k8zInrbr1DIbQSGcfNrJWGfWQQZRPnP4JsL5nnMm qt1bYdUUaJ2Wp4jcbOhcdsLOh7lQ5CP8ei96jugoon44iVmllm7xehSpzB5NCpw1EZrr 1s6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=pvzk9pBPPOHdkmHfOdScVFfQBp7VcZHGNvoQ8z+jDDY=; b=Rg0tqGCxlEdKxoXpZDn0FSc4JL9qCO6hbYH95VmM7eSp5JS7/eq15Q9qBBhVGBhmBB 4gX8sMgeWTiCEFdNUwCrStYicnATKkbHYRBfxbaL5dzqA6V0W/rDvmejbMxZ7yJmuwPa oFwxo+EQSthYQGLpkw/fQ46XAtfui7r/j3qplkCFb42KQtopK1TBxY9yW47ijemB+zqK V8tYw6zEDUXLzX9V0jWY9oZHQ/9IPrEYfL+zs7njW+6GqR+I1b7eZeWYgKt+9QrPEHVL p7aHQmd5lJv/dD8WJZ5nb2c7tHAB0+l6MrdmFRgYB638fDdvYgBKyJx16wtClOavTEcl rJJg== 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 e193si13042741pgc.339.2019.04.04.08.49.43; Thu, 04 Apr 2019 08:49:58 -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 S1728644AbfDDPs4 (ORCPT + 99 others); Thu, 4 Apr 2019 11:48:56 -0400 Received: from honk.sigxcpu.org ([24.134.29.49]:57598 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726269AbfDDPsz (ORCPT ); Thu, 4 Apr 2019 11:48:55 -0400 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id E0028FB03; Thu, 4 Apr 2019 17:48:52 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fNdyGWJaw293; Thu, 4 Apr 2019 17:48:50 +0200 (CEST) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id 4ACD942BBE; Thu, 4 Apr 2019 17:48:50 +0200 (CEST) Date: Thu, 4 Apr 2019 17:48:50 +0200 From: Guido =?iso-8859-1?Q?G=FCnther?= To: Joe Perches Cc: 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, Sam Ravnborg Subject: Re: [PATCH] drm/panel: Rocktech jh057n00900: Add terminating newlines to logging Message-ID: <20190404154850.GA19334@bogon.m.sigxcpu.org> References: <20190403161735.GN5238@ulmo> <1ed5eb3af4df6b2dd1544c7b696e034ed5c94f06.camel@perches.com> <20190404105359.GA8255@bogon.m.sigxcpu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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"); > return ret; > } > /* Panel is operational 120 msec after reset */ > @@ -132,7 +132,7 @@ static int jh057n_init_sequence(struct jh057n *ctx) > if (ret) > return ret; > > - DRM_DEV_DEBUG_DRIVER(dev, "Panel init sequence done"); > + DRM_DEV_DEBUG_DRIVER(dev, "Panel init sequence done\n"); > return 0; > } > > @@ -172,7 +172,7 @@ static int jh057n_prepare(struct drm_panel *panel) > if (ctx->prepared) > return 0; > > - DRM_DEV_DEBUG_DRIVER(ctx->dev, "Resetting the panel."); > + DRM_DEV_DEBUG_DRIVER(ctx->dev, "Resetting the panel\n"); > gpiod_set_value_cansleep(ctx->reset_gpio, 1); > usleep_range(20, 40); > gpiod_set_value_cansleep(ctx->reset_gpio, 0); > @@ -180,7 +180,8 @@ static int jh057n_prepare(struct drm_panel *panel) > > ret = jh057n_init_sequence(ctx); > if (ret < 0) { > - DRM_DEV_ERROR(ctx->dev, "Panel init sequence failed: %d", ret); > + DRM_DEV_ERROR(ctx->dev, "Panel init sequence failed: %d\n", > + ret); > return ret; > } > > @@ -212,7 +213,7 @@ static int jh057n_get_modes(struct drm_panel *panel) > > mode = drm_mode_duplicate(panel->drm, &default_mode); > if (!mode) { > - DRM_DEV_ERROR(ctx->dev, "Failed to add mode %ux%u@%u", > + DRM_DEV_ERROR(ctx->dev, "Failed to add mode %ux%u@%u\n", > default_mode.hdisplay, default_mode.vdisplay, > default_mode.vrefresh); > return -ENOMEM; > @@ -241,7 +242,7 @@ static int allpixelson_set(void *data, u64 val) > struct jh057n *ctx = data; > struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); > > - DRM_DEV_DEBUG_DRIVER(ctx->dev, "Setting all pixels on"); > + DRM_DEV_DEBUG_DRIVER(ctx->dev, "Setting all pixels on\n"); > dsi_generic_write_seq(dsi, ST7703_CMD_ALL_PIXEL_ON); > msleep(val * 1000); > /* Reset the panel to get video back */ > @@ -290,7 +291,7 @@ static int jh057n_probe(struct mipi_dsi_device *dsi) > > ctx->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_LOW); > if (IS_ERR(ctx->reset_gpio)) { > - DRM_DEV_ERROR(dev, "cannot get reset gpio"); > + DRM_DEV_ERROR(dev, "cannot get reset gpio\n"); > return PTR_ERR(ctx->reset_gpio); > } > > @@ -315,12 +316,12 @@ static int jh057n_probe(struct mipi_dsi_device *dsi) > > ret = mipi_dsi_attach(dsi); > if (ret < 0) { > - DRM_DEV_ERROR(dev, "mipi_dsi_attach failed. Is host ready?"); > + DRM_DEV_ERROR(dev, "mipi_dsi_attach failed. Is host ready?\n"); > drm_panel_remove(&ctx->panel); > return ret; > } > > - DRM_DEV_INFO(dev, "%ux%u@%u %ubpp dsi %udl - ready", > + DRM_DEV_INFO(dev, "%ux%u@%u %ubpp dsi %udl - ready\n", > default_mode.hdisplay, default_mode.vdisplay, > default_mode.vrefresh, > mipi_dsi_pixel_format_to_bpp(dsi->format), dsi->lanes); > Reviewed-By: Guido G?nther Thanks, -- Guido P.S.: The cc: list is huge, is there a reason for going way past what get_maintainers puts out for this patch?