From patchwork Sun Nov 26 10:19:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SF Markus Elfring X-Patchwork-Id: 10075257 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id EF1A5602BD for ; Sun, 26 Nov 2017 10:20:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E3DCF28E28 for ; Sun, 26 Nov 2017 10:20:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D542928E3B; Sun, 26 Nov 2017 10:20:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2CDCB28E28 for ; Sun, 26 Nov 2017 10:20:49 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1453D89F47; Sun, 26 Nov 2017 10:20:48 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mout.web.de (mout.web.de [212.227.15.3]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1655589F47 for ; Sun, 26 Nov 2017 10:20:45 +0000 (UTC) Received: from [192.168.1.3] ([78.49.168.181]) by smtp.web.de (mrweb002 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MUVrX-1ej8822SfL-00RL4J; Sun, 26 Nov 2017 11:20:26 +0100 Subject: [PATCH 3/4] video: sm501fb: Combine substrings for four messages From: SF Markus Elfring To: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, Alexey Khoroshilov , Bartlomiej Zolnierkiewicz , Bhumika Goyal , Colin Ian King , "Gustavo A. R. Silva" , Sudip Mukherjee References: Message-ID: Date: Sun, 26 Nov 2017 11:19:27 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-GB X-Provags-ID: V03:K0:R3lYaDCEd0LTtWTzoNzUXvpzseU/zSV3W41JW8gNMSM3FgtSjEy Vz9bY3tgNcffppRdWTGC9bVTaXEXMCBEEh2ONT1g6gT1Te7swkLSBbi7Rd6rXujhn/hyuCn 1mN6y+o013CLjvIsDSfnF7+z5CijZcj4Uxw0SiyN1P8tFw5haUuOQrYSiPlZNEq/6RGQSHN zra3SrSLobdIAJciCIA2A== X-UI-Out-Filterresults: notjunk:1; V01:K0:6BU6J+bf4GU=:lWpR9RQt7/6Pv2smqMx/K0 oi4n8251RgMm1dszn7OxjsscnQLEsGdxoxhkXE3NpAoWO6SF2HjiA+WNbL/85GY/gcLvxQkRG 7VTx5snnN3YyfHY4qfyfJwV88rbvoorsKH18/JdmYHJKaLT7HLMxru4DxVFWpcO2c5ptdP8I1 OiEUNvYDiYkXbK7elpGP4DYJh/RP/lzn9HEVhy8PePhlvm8ak9hqt3P6t5ib1MPFN/V0tcBXO CaPkZxmgeRvVeEZ0z4mnlh2qLwEoHxKScRVQ+0anHT5FGnjmYH4XnIB/fKM9hTJ+D6ST5VpZb Xun2bPw/PUZyoa7YTl5yKufsIK/3Pn8ZQKYBQK4F3EQhYc3Mo92xFs3Wh9Smg9slWF47Uus0H YwlblHFnaoBIHJTzmzMx9SrNs76lLyMYnjEFwPNU8Sw+0oU36OfKesHZO4I6rdrl69gWxjoTz v6c72XBgrOSyXv2/ky9s9RxLyHlAB2frJN6HGsnS/JreHw/uLoQ1iZa24QnVj4oRJumAuNnxQ AYa5OJWS26b5V6lDJLODGI2Td9LzyD6TNn+MwR9FrYG0bTce1kYvnKfM5qqeCIJ2m1kleEmQ0 hyQoDU8/qP4KBe0FrI+nubSwLEu9TuYLk9IXHkNkGrZzBpstyI1fi8dxybFuZ6Bb8yKtdIja5 57KXTN8ldTQDzCDNUXC1kF8OaoxuEvgWrUl6QBdeiG5odXKfWGCVUybGJeMIj8XI05ng0zuhv jwN9QPirRuxtSxWUjSLztCdoOil4EhyZXIAA/QI3APXzjcxHd8IwjoBIJJNlef/qmCSjBr3Fx rTCnNyBKVeZTPWOz+UFeZeZ9SFCo1SlNQ58WeQjsE3niNCPeHAgx8LcrKQb+wK91MQ3WMKe Cc: kernel-janitors@vger.kernel.org, LKML X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Sun, 26 Nov 2017 10:43:36 +0100 The script "checkpatch.pl" pointed information out like the following. WARNING: quoted string split across lines Thus fix four source code places. Signed-off-by: Markus Elfring --- drivers/video/fbdev/sm501fb.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/video/fbdev/sm501fb.c b/drivers/video/fbdev/sm501fb.c index 80bda5a655c0..f38e3773ccc0 100644 --- a/drivers/video/fbdev/sm501fb.c +++ b/drivers/video/fbdev/sm501fb.c @@ -510,10 +510,10 @@ static int sm501fb_set_par_common(struct fb_info *info, /* update fb layer with actual clock used */ var->pixclock = sm501fb_hz_to_ps(sm501pixclock); - dev_dbg(fbi->dev, "%s: pixclock(ps) = %u, pixclock(Hz) = %lu, " - "sm501pixclock = %lu, error = %ld%%\n", - __func__, var->pixclock, pixclock, sm501pixclock, - ((pixclock - sm501pixclock)*100)/pixclock); + dev_dbg(fbi->dev, + "%s: pixclock(ps) = %u, pixclock(Hz) = %lu, sm501pixclock = %lu, error = %ld%%\n", + __func__, var->pixclock, pixclock, sm501pixclock, + ((pixclock - sm501pixclock) * 100) / pixclock); return 0; } @@ -1789,16 +1789,16 @@ static int sm501fb_init_fb(struct fb_info *fb, enum sm501_controller head, switch (ret) { case 1: - dev_info(info->dev, "using mode specified in " - "@mode\n"); + dev_info(info->dev, + "using mode specified in @mode\n"); break; case 2: - dev_info(info->dev, "using mode specified in " - "@mode with ignored refresh rate\n"); + dev_info(info->dev, + "using mode specified in @mode with ignored refresh rate\n"); break; case 3: - dev_info(info->dev, "using mode default " - "mode\n"); + dev_info(info->dev, + "using mode default mode\n"); break; case 4: dev_info(info->dev, "using mode from list\n");