Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934121AbeALQ6r (ORCPT + 1 other); Fri, 12 Jan 2018 11:58:47 -0500 Received: from mout.web.de ([212.227.15.14]:60282 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933994AbeALQ6p (ORCPT ); Fri, 12 Jan 2018 11:58:45 -0500 Subject: [PATCH 1/2] mvebu-mbus: Use seq_putc() in mvebu_devs_debug_show() From: SF Markus Elfring To: kernel-janitors@vger.kernel.org, Gregory Clement , =?UTF-8?Q?Jan_L=c3=bcbbe?= Cc: LKML References: <4796228f-fa7f-24db-0049-2d2b9041c5b0@users.sourceforge.net> Message-ID: <8dae6f05-2403-42d3-8728-96d69e4a965b@users.sourceforge.net> Date: Fri, 12 Jan 2018 17:58:42 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <4796228f-fa7f-24db-0049-2d2b9041c5b0@users.sourceforge.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:mibOHWdz6tEzAavg74DKMHcxxRAs428okuryilWxJ92koyYy4Oy WL6mWQ8a0T8kS+EbFSiTJgTc+dPiRdXGwUN14d9q2LtKmGjndUaIbIQQ/8lQ63ZDnvnyodb Myqu3bugmB3YqUBndk8sqLfaE5IJFVP3x3DH84GWN5g/prmWmY2vYYLtPTqVgE6KCx0Jpwa DjOVSPdFGJGikJ1whns2g== X-UI-Out-Filterresults: notjunk:1;V01:K0:KSjq60hTkAc=:Fg35FifOw9ICcPAws1tT8g 8oY7lpnb/Cj0E0lctmDEBizGNjhJ4WDQ+2158IakIUhokxErDvHZj2YgSHTdztH3w1NIbf78B mdheqrw58CBUvif0f61BD9uPzDxxW4vc/pfc/+ZSuDiPrPmaodPv5KhJqO/lEbUXCsPb/KJUZ oF4VvLavaZ5CK4BgYJaCLz70X2mIKEJV8Z8BUztEztwKKn71bdelP4tUV6CHcVTRNtdNmYMTE hs3flDXlY0O2095JXmhryZdFBUSIc+Wf4w1KAXVve3NWmXvW5ORj0ZrBw8Fe/t6SaJ5875zAA /v1a6QzpXvkc45ZGwUc2keqEwOuWqQv809f3gZ/8iuabmOLIRkTffPBUbqG1AsdR75ltbDTNX /hcWWU1Q+ili8GET3BIMKIiSOFNvQK77Xi4F0f4e3AXvORaQK6l+wZY+/NfPYG66hJlp09HaZ NYO/OIx6t+zK5QFaR1pWCJ829lJO/mkiA0uViaEPjvgmY4tbneaXC7PUGCSJtK9aQ9MNVT1Gj UjAufjJYhez4jVIU0/7bxZKToKdlLULF2fOee9//zqoC2ULJK2Xgqjz/ZJ3uDOu7h4ma29T5H wWFqdyJeqBmlHdf7kn9brAb8WQpe0WL2F++0k9SUqBQ1KMDNAECO6sLpdmIhSqzVWjiziXtiY +fArv9d3BZlgEVZ9BfkDKhtfQa1RSqTSInd4mD3Q9an5hpHlLNc+GpLHAWYy041ENWyqlAZty /9C3Obor/fs4ypA1yzK5TaEL9oWEyEUrGhi1t+xaHP0ALhqQMX3aDpUQOnFkN0vWt4V0sD9M+ gD9VA3qfcolk6iI42NyI1jbgarS7cARqPu9rbuRkV03upFNbsg= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: From: Markus Elfring Date: Fri, 12 Jan 2018 17:12:14 +0100 A single character (line break) should be put into a sequence. Thus use the corresponding function "seq_putc". This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/bus/mvebu-mbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bus/mvebu-mbus.c b/drivers/bus/mvebu-mbus.c index 70db4d5638a6..5844901aea0b 100644 --- a/drivers/bus/mvebu-mbus.c +++ b/drivers/bus/mvebu-mbus.c @@ -514,7 +514,7 @@ static int mvebu_devs_debug_show(struct seq_file *seq, void *v) seq_printf(seq, " (remap %016llx)\n", (unsigned long long)wremap); } else - seq_printf(seq, "\n"); + seq_putc(seq, '\n'); } return 0; -- 2.15.1