From patchwork Tue Jun 16 13:42:06 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 6618141 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A02999F326 for ; Tue, 16 Jun 2015 13:44:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CFA7320643 for ; Tue, 16 Jun 2015 13:44:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D92B920641 for ; Tue, 16 Jun 2015 13:44:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754758AbbFPNmf (ORCPT ); Tue, 16 Jun 2015 09:42:35 -0400 Received: from mail-pa0-f43.google.com ([209.85.220.43]:36850 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756522AbbFPNmd (ORCPT ); Tue, 16 Jun 2015 09:42:33 -0400 Received: by pabqy3 with SMTP id qy3so13092747pab.3; Tue, 16 Jun 2015 06:42:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=TKhYmGrEwiw4KnAPx9arAbw5vSdNwAB8fp8q4gWh2fo=; b=FW01nMg9z0a95l2rdFhnZjCpc7FTn+pS839Md8yIz5g0QOIzezeO+Fldg2wJXftAOq co+Nt8k4BSpQGvxeTRUase8bMGPy60a2GvS1V2+HmUSB52qfbjcLmms8seLIYKT8l1+6 OUNpD0k8Y5c+p9qGf1f/7P3xXrEvIPQqBCmuDzM+Kjvgy/4YefLobPbZmnAxWzjj0Doq aP29oDVbV7zHSA/mGvQrIIM40kfRy+SkkpzqaOkuC64MlZqGC+DQ0Z8wkyLZ8AdJtK51 BPefqM2VhB27PvHASPFP9GbD/i7jo7ZYtj9jac5vXvpTxX61MGNnkGXDrwsZ75R391qS Dnww== X-Received: by 10.70.93.106 with SMTP id ct10mr845576pdb.92.1434462153365; Tue, 16 Jun 2015 06:42:33 -0700 (PDT) Received: from localhost.localdomain ([122.169.132.132]) by mx.google.com with ESMTPSA id w4sm1521423pdl.7.2015.06.16.06.42.30 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 16 Jun 2015 06:42:32 -0700 (PDT) From: Sudip Mukherjee To: Greg Kroah-Hartman Cc: linux-fbdev@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Joe Perches , Sudip Mukherjee Subject: [PATCH 3/8] staging: sm7xxfb: add newline Date: Tue, 16 Jun 2015 19:12:06 +0530 Message-Id: <1434462131-15191-3-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1434462131-15191-1-git-send-email-sudipm.mukherjee@gmail.com> References: <1434462131-15191-1-git-send-email-sudipm.mukherjee@gmail.com> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_WEB, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP new line was missing in some of the dev_* macros while printing the debug and error messages. Signed-off-by: Sudip Mukherjee --- drivers/staging/sm7xxfb/sm7xxfb.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/sm7xxfb/sm7xxfb.c b/drivers/staging/sm7xxfb/sm7xxfb.c index 5667fbf..f18fef9 100644 --- a/drivers/staging/sm7xxfb/sm7xxfb.c +++ b/drivers/staging/sm7xxfb/sm7xxfb.c @@ -741,7 +741,7 @@ static int smtcfb_pci_probe(struct pci_dev *pdev, int err; unsigned long mmio_base; - dev_info(&pdev->dev, "Silicon Motion display driver."); + dev_info(&pdev->dev, "Silicon Motion display driver.\n"); err = pci_enable_device(pdev); /* enable SMTC chip */ if (err) @@ -815,12 +815,12 @@ static int smtcfb_pci_probe(struct pci_dev *pdev, #ifdef __BIG_ENDIAN if (sfb->fb->var.bits_per_pixel == 32) { sfb->lfb += 0x800000; - dev_info(&pdev->dev, "sfb->lfb=%p", sfb->lfb); + dev_info(&pdev->dev, "sfb->lfb=%p\n", sfb->lfb); } #endif if (!smtc_regbaseaddress) { dev_err(&pdev->dev, - "%s: unable to map memory mapped IO!", + "%s: unable to map memory mapped IO!\n", sfb->fb->fix.id); err = -ENOMEM; goto failed_fb; @@ -854,7 +854,7 @@ static int smtcfb_pci_probe(struct pci_dev *pdev, break; default: dev_err(&pdev->dev, - "No valid Silicon Motion display chip was detected!"); + "No valid Silicon Motion display chip was detected!\n"); goto failed_fb; } @@ -876,14 +876,14 @@ static int smtcfb_pci_probe(struct pci_dev *pdev, goto failed; dev_info(&pdev->dev, - "Silicon Motion SM%X Rev%X primary display mode %dx%d-%d Init Complete.", + "Silicon Motion SM%X Rev%X primary display mode %dx%d-%d Init Complete.\n", sfb->chip_id, sfb->chip_rev_id, sfb->fb->var.xres, sfb->fb->var.yres, sfb->fb->var.bits_per_pixel); return 0; failed: - dev_err(&pdev->dev, "Silicon Motion, Inc. primary display init fail."); + dev_err(&pdev->dev, "Silicon Motion, Inc. primary display init fail.\n"); smtc_unmap_smem(sfb); smtc_unmap_mmio(sfb);