Received: by 10.223.176.5 with SMTP id f5csp2979464wra; Mon, 5 Feb 2018 13:29:51 -0800 (PST) X-Google-Smtp-Source: AH8x227RfNqqeKd5H+fvHMG/aRYzlKs7J9YretWWFwCIncXvC8+6KWgchRGcGIWT+nfs0cQQHiFo X-Received: by 2002:a17:902:5269:: with SMTP id z96-v6mr177053plh.392.1517866191228; Mon, 05 Feb 2018 13:29:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517866191; cv=none; d=google.com; s=arc-20160816; b=ypPc553Mpuque6bdV290ViwuzYVMPCpv/4MrO+tN1ShuvdEGlPxhSxeE0anZ0M9GsQ 0/uV8d8ogPl6nir0QxSyFihEbI1a+5h3w6mRVUlWB9iEOL2CmW3VLPZR0r95VgV8/K8y 6zOff2fqXJuOwDGoKjpcH2s29uUu/j6JsL3MKTkuAhRMX0t0MRH+45E9aEUH5AJve89g fsaZuy6CDRsBhrhp7tTWnJiEW0Mmpzo8QIOZaLXa4ndeBKRKzLpqXStrZVxdjnZyZR9h +IoSlN4SI4YKkE+/vyNDyHwlI0hlOPRX1n8QwEF4YwutQhqxAueS2KuSzWUFqMCva06S iFPg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:from:subject:arc-authentication-results; bh=vd/fxEWURbqE7xOOnEEHp8jkZiCGvnHKwakmWwZ5gjw=; b=GHCTQmrdCgZGkEPw88BvJB+mUR1rApxvgq+0vZNZQJzDKrxdQPh5NcgIgT3Ti7h6aa +VM5MX0K8/hnaVhelm5Oilt4UlkKpRUZxffFY7rsCfrg6RihzNnQyqARpuVOqCrjkDes 1uqud07oWjkaH9/Kl7aA/r/dWLtFKmJnI381HdMpiX99tbYSHP2kYkBvdcSo9wDwJZt0 4M4QOMqTpZEQ6kI3fLo/zyW8Tn4XV9eSS9RoVZU1I97E3JO3JMgMjqD9vtvJUuZD1b3N 8+koGf5XthAstPSFOVkxMjvpRzY92Z3Bb3f8S0I9VbHRlUUAcWTCogdozQk5D9p30xT8 GSKw== 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; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=sourceforge.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a5-v6si5451064plh.640.2018.02.05.13.29.37; Mon, 05 Feb 2018 13:29:51 -0800 (PST) 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; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=sourceforge.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752187AbeBEV3D (ORCPT + 99 others); Mon, 5 Feb 2018 16:29:03 -0500 Received: from mout.web.de ([212.227.15.14]:63981 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751960AbeBEV24 (ORCPT ); Mon, 5 Feb 2018 16:28:56 -0500 Received: from [192.168.1.2] ([92.227.235.192]) by smtp.web.de (mrweb002 [213.165.67.108]) with ESMTPSA (Nemesis) id 0Lcgkx-1fB1s72X4x-00kBNf; Mon, 05 Feb 2018 22:28:48 +0100 Subject: [PATCH 3/4] HID: logitech-dj: Combine substrings for seven messages From: SF Markus Elfring To: linux-input@vger.kernel.org, Benjamin Tissoires , Jiri Kosina Cc: LKML , kernel-janitors@vger.kernel.org References: <12e9f2fd-5e85-fe8b-5eec-cd1712b07166@users.sourceforge.net> Message-ID: Date: Mon, 5 Feb 2018 22:28:46 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <12e9f2fd-5e85-fe8b-5eec-cd1712b07166@users.sourceforge.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:rpiS6OT/IJwNKcxQFlnYA9r/X1e2TP81/ellFsZhKn+n6JD2CSA wY6yIDu9YnxJ532dqa0dE/q0qS0nwHWMRGAUSCL88i8hzQIi7u+BbN3HYSjMTZEReXCmMSf jccxZTinOpJ7B0kx01Rc29tnUlWO1wsreqpmbhTFKxtVp8haDFb5KMOuXfknJQ/imwlD17i r+L6AUj96BCInDipdnwEQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:p2iPdemcG/E=:nWLt0CZXC3We41gkbljCXU Fo7MUrr30KEZbYzb9aCtHXOZRX9MSI6eLvQe4S9GdcppZaaT214e8TBolwUe4YM3l6MCfaH20 190qyZv/MS6DpV55lvEAEHowxYVqU8+YA2ef+nY7UWdXmiKm5lpwap1GksAv5ycqRB8o03aGr h0bAQmV017K67Eu8h0fer6iIqK2q9kFPIJhMxtp71vSGlHQ1GGVnYfZC6Txd0ZVS2wMM7DaiT a8YoXgigFzB3nU37XTHn8K68r0flsDXqLek05EwdcWMXhfNMYGm85ChuaxpnvM3fnzAaieKkM GXtpNPLB58eJrh6OoZWXU8+Pai8RdWt61oo1PHw0iWVTAAPOU0hGuHJCY+GOU1q35/QxyRiBV /wzcYy3VTlmOqk30doXv0cbyMQo412eBnkYJQwZPAhG5VPIYJ7C+C9Geg/aRcsvMeEYHRCXrV J0bznqsbwAighHkLS6ITpQIFASghpe1+1atlMBlGWJcXI8ho9k9I7EEXqgQJ+Fobro4fkEkNE KXxWjpMYYQAaPITvng/Oku5P7oiTf0px54pNsuvxccLNzuFSgL6dtmPAghIo3rlFy6H9ICdgg 2EUrSZ3pHFMUMp0SQ5R2Id2mYCoyX9v7o1Aepyg0XUTap7WKyjpHSeqsp0XilEthMk/t/UEPg V78rQHmfdCfZNXuGcX5sqMxC0NnuIcmvjC5p1jTiTFzkjDDAoTg7xr55tj7BQaCjGesHL8Y0r Lq04IDHK7SqZwzsKDdyvZouGCDlR+SQWQ/uFczoE5git8Jo1c6nO8mJ8Bd8/Nb56FNY1eLdff cZWFOvOWVLaD7pT/n/Gc+ANBxN9IJ3GQY6+ormsSP9epiOdEvg= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Markus Elfring Date: Mon, 5 Feb 2018 22:06:20 +0100 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/hid/hid-logitech-dj.c | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/drivers/hid/hid-logitech-dj.c b/drivers/hid/hid-logitech-dj.c index 0da00d256ca7..f1496c6303ce 100644 --- a/drivers/hid/hid-logitech-dj.c +++ b/drivers/hid/hid-logitech-dj.c @@ -463,16 +463,17 @@ static void delayedwork_callback(struct work_struct *work) sizeof(struct dj_report)); if (count != sizeof(struct dj_report)) { - dev_err(&djrcv_dev->hdev->dev, "%s: workitem triggered without " - "notifications available\n", __func__); + dev_err(&djrcv_dev->hdev->dev, + "%s: workitem triggered without notifications available\n", + __func__); spin_unlock_irqrestore(&djrcv_dev->lock, flags); return; } if (!kfifo_is_empty(&djrcv_dev->notif_fifo)) { if (schedule_work(&djrcv_dev->work) == 0) { - dbg_hid("%s: did not schedule the work item, was " - "already queued\n", __func__); + dbg_hid("%s: did not schedule the work item, was already queued\n", + __func__); } } @@ -502,8 +503,8 @@ static void delayedwork_callback(struct work_struct *work) break; } dev_err(&djrcv_dev->hdev->dev, - "%s:logi_dj_recv_query_paired_devices " - "error:%d\n", __func__, retval); + "%s:logi_dj_recv_query_paired_devices error:%d\n", + __func__, retval); } dbg_hid("%s: unexpected report type\n", __func__); } @@ -517,8 +518,8 @@ static void logi_dj_recv_queue_notification(struct dj_receiver_dev *djrcv_dev, kfifo_in(&djrcv_dev->notif_fifo, dj_report, sizeof(struct dj_report)); if (schedule_work(&djrcv_dev->work) == 0) { - dbg_hid("%s: did not schedule the work item, was already " - "queued\n", __func__); + dbg_hid("%s: did not schedule the work item, was already queued\n", + __func__); } } @@ -541,8 +542,7 @@ static void logi_dj_recv_forward_null_report(struct dj_receiver_dev *djrcv_dev, HID_INPUT_REPORT, reportbuffer, hid_reportid_size_map[i], 1)) { - dbg_hid("hid_input_report error sending null " - "report\n"); + dbg_hid("hid_input_report error sending null report\n"); } } } @@ -770,8 +770,8 @@ static int logi_dj_ll_parse(struct hid_device *hid) } if (djdev->reports_supported & STD_MOUSE) { - dbg_hid("%s: sending a mouse descriptor, reports_supported: " - "%x\n", __func__, djdev->reports_supported); + dbg_hid("%s: sending a mouse descriptor, reports_supported: %x\n", + __func__, djdev->reports_supported); rdcat(rdesc, &rsize, mse_descriptor, sizeof(mse_descriptor)); } @@ -1068,8 +1068,9 @@ static int logi_dj_probe(struct hid_device *hdev, retval = logi_dj_recv_query_paired_devices(djrcv_dev); if (retval < 0) { - dev_err(&hdev->dev, "%s:logi_dj_recv_query_paired_devices " - "error:%d\n", __func__, retval); + dev_err(&hdev->dev, + "%s:logi_dj_recv_query_paired_devices error:%d\n", + __func__, retval); goto logi_dj_recv_query_paired_devices_failed; } -- 2.16.1