From patchwork Thu Oct 13 16:48:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SF Markus Elfring X-Patchwork-Id: 9375489 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 373DB60839 for ; Thu, 13 Oct 2016 16:55:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 289062A16C for ; Thu, 13 Oct 2016 16:55:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1B9982A176; Thu, 13 Oct 2016 16:55:15 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A88372A16C for ; Thu, 13 Oct 2016 16:55:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933652AbcJMQzD (ORCPT ); Thu, 13 Oct 2016 12:55:03 -0400 Received: from mout.web.de ([212.227.15.14]:61951 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933319AbcJMQzA (ORCPT ); Thu, 13 Oct 2016 12:55:00 -0400 Received: from [192.168.1.2] ([77.182.72.22]) by smtp.web.de (mrweb001) with ESMTPSA (Nemesis) id 0MgOQQ-1bX8Ht1dJe-00Nlpb; Thu, 13 Oct 2016 18:48:11 +0200 Subject: [PATCH 18/18] [media] RedRat3: Combine substrings for six messages To: linux-media@vger.kernel.org, Hans Verkuil , Mauro Carvalho Chehab , Sean Young , Wolfram Sang References: <566ABCD9.1060404@users.sourceforge.net> <81cef537-4ad0-3a74-8bde-94707dcd03f4@users.sourceforge.net> Cc: LKML , kernel-janitors@vger.kernel.org, Julia Lawall From: SF Markus Elfring Message-ID: Date: Thu, 13 Oct 2016 18:48:10 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <81cef537-4ad0-3a74-8bde-94707dcd03f4@users.sourceforge.net> X-Provags-ID: V03:K0:qPPG2qubHyUm/ri/KNxaNjZtxHE4oHDwyzqXFDfmr2XKKOrQjjl CB36+WH0m790v2Vj9HYBkRNofGf0Pol+l2wLZ7iaI1XlwUWN+lIY8GsQuN/QJCSTg//e84c Rm/C0mVbdqqBe6mWFNNhjl5PIP4hA3TVkhizgr5pkJNw/xRYfsuaOoofJJwqrXVSxKD57QQ 9Vnmi6E5blePJM2xgVYOw== X-UI-Out-Filterresults: notjunk:1; V01:K0:Fz3e4oUcnLU=:iscJ4hjgyiCW9nxuhsVCne yN3omp6q4d5RjjdSHfUiufasfittuJQj4DySXD1AnoLdFZ55TWnqD+U7tJhNnY/tEGLhOA5zz 9cI2P8A3T21y7LCtzkxm7m/3C2HYnaIQVcTsDmq6PYjzHkdGNLUa9m7+Yiq8STpHlI9LwMkSM U3AYlbeKskQ8Nm/IlnX+FKJNZwJgoDq9T7QTQajdonn8VWD09o8IeN2neW2VBICUbHtSuHszL HfQsrIoxtigdraff0Rb47aOinuZSEnF+iVf0+O2N9QJcKyaA3liaugsYhRuKy6r1wsWTGuocl Vbp8CF2lwCenn4HiZa8EpqejlhL+H34Jg8UbwECrScot0saTdZUhmO3t1qGyx4XH+B2u0Wf6I whnO92+hAj4/rgoVoTuTjJxDiOCkt6dH0aUHHjrd8HaRjI2EkmqrpcneWO2wCUeU3rdqMQ79a A2/thZXHx7xEXiY6gFAUIKlZEHO3+8tvoCYXsiNezfPhv5uuR8/oyoxF0JaJ65v6yExNT11A8 DBV2x95YqdOAhAqs+JNPW6OEWHNCmuQ7gE5h7hqJA61TYg4Q+ZAmIgLb30ZZElmnFg8TwiF8L 9pgz8kkw8Axn3u7n+ZmX6UW6NRW5Dx1flB4BdkZQZ37Ekq1dRxyQaUkTIwW/KU5RYnpHLLEsV 78Ayq0R1WlolwgVspL2sHfIO15s9FY+F+aLMF1PRwraIebxwnbrD+VMauZmC17cw0QXnos69z 0QVHfN+IRtEEvZ6C89knEBqGMKVHrHZvsMro4AbchrD2mRoOlHbpJe/9b/3QnxGf6nbOOWr5H rvhMW6P Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Thu, 13 Oct 2016 17:50:11 +0200 The script "checkpatch.pl" pointed information out like the following. WARNING: quoted string split across lines Thus fix the affected source code places. Signed-off-by: Markus Elfring --- drivers/media/rc/redrat3.c | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/drivers/media/rc/redrat3.c b/drivers/media/rc/redrat3.c index a09d5cb..b8c4b98 100644 --- a/drivers/media/rc/redrat3.c +++ b/drivers/media/rc/redrat3.c @@ -233,8 +233,7 @@ static void redrat3_dump_fw_error(struct redrat3_dev *rr3, int code) /* Codes 0x20 through 0x2f are IR Firmware Errors */ case 0x20: - pr_cont("Initial signal pulse not long enough " - "to measure carrier frequency\n"); + pr_cont("Initial signal pulse not long enough to measure carrier frequency\n"); break; case 0x21: pr_cont("Not enough length values allocated for signal\n"); @@ -246,18 +245,15 @@ static void redrat3_dump_fw_error(struct redrat3_dev *rr3, int code) pr_cont("Too many signal repeats\n"); break; case 0x28: - pr_cont("Insufficient memory available for IR signal " - "data memory allocation\n"); + pr_cont("Insufficient memory available for IR signal data memory allocation\n"); break; case 0x29: - pr_cont("Insufficient memory available " - "for IrDa signal data memory allocation\n"); + pr_cont("Insufficient memory available for IrDa signal data memory allocation\n"); break; /* Codes 0x30 through 0x3f are USB Firmware Errors */ case 0x30: - pr_cont("Insufficient memory available for bulk " - "transfer structure\n"); + pr_cont("Insufficient memory available for bulk transfer structure\n"); break; /* @@ -269,8 +265,7 @@ static void redrat3_dump_fw_error(struct redrat3_dev *rr3, int code) pr_cont("Signal capture has been terminated\n"); break; case 0x41: - pr_cont("Attempt to set/get and unknown signal I/O " - "algorithm parameter\n"); + pr_cont("Attempt to set/get and unknown signal I/O algorithm parameter\n"); break; case 0x42: pr_cont("Signal capture already started\n"); @@ -866,8 +861,8 @@ static struct rc_dev *redrat3_init_rc_dev(struct redrat3_dev *rr3) return NULL; prod = le16_to_cpu(rr3->udev->descriptor.idProduct); - snprintf(rr3->name, sizeof(rr3->name), "RedRat3%s " - "Infrared Remote Transceiver (%04x:%04x)", + snprintf(rr3->name, sizeof(rr3->name), + "RedRat3%s Infrared Remote Transceiver (%04x:%04x)", prod == USB_RR3IIUSB_PRODUCT_ID ? "-II" : "", le16_to_cpu(rr3->udev->descriptor.idVendor), prod);