Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754912AbeAMMU2 (ORCPT + 1 other); Sat, 13 Jan 2018 07:20:28 -0500 Received: from mout.web.de ([212.227.15.4]:50902 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754835AbeAMMU0 (ORCPT ); Sat, 13 Jan 2018 07:20:26 -0500 To: linux-usb@vger.kernel.org, Felipe Balbi , Greg Kroah-Hartman , Johan Hovold Cc: LKML , kernel-janitors@vger.kernel.org From: SF Markus Elfring Subject: [PATCH] usb/host/imx21: Use seq_putc() in debug_etd_show() Message-ID: Date: Sat, 13 Jan 2018 13:20:04 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:8i3+y64kR+VsrU8w/Gn743Qm2pdWLwQO5cXDAUUIex/gFwBUbBQ pelyjYnJcEaO941r9nzSKRu+QLlfEBysfv8Cg/una9hRK9QN17iFAZPwT/FwCP0reUDX7Rk 7JQhmr338cwg4UGajSvZ5fpLvzBXdNM9HY2clGE26GY5hsDYlWPYDctfHXFsamxPmokMQUe UPMF9ekdLkm10j5HdCNzA== X-UI-Out-Filterresults: notjunk:1;V01:K0:aAcwgX6RgpI=:ZSpir0oshVo8tbmAn+y8Hr 2L+37BBlEsDilAa6DnkP8v9h+btRlve1gDYwZAeViYWtb0TKmsE/C+b54LdWmggaf5lFS6o3V uJYqMA4lChAH6VtxUtor/UO/F+2pThKwciwaWnMAK1uQJhII30yGKxjnZbtqq/1Zx0/FxYJkC VzEqyJq9wgve1hMEw5HGUQFSOPVgL367Kx8WBgeqvtHZIsjM2U/IcwTTcxqumD2McEYYQ2Hsi pyttebyAx6KYm5Vb2ShT3iQH2F7ijFg3OPvJD9UWZjAgWJl8je2PVRzLJZAHhVWE5i8MmYLdF zkGCOKx7ttKHfwIV+Qpa6KHCvRWM+JiZqEYOq6nDOQdLxN7g59NedSHR+Ormo6i59ZyS+Rp8h 9ZmgTtBZu18Qn6nelFjoBvQUcaOShPz8QrOjso8uWJUaiBGyoHdJ9SS9Pmzs62kiqrPGgR/1u ybN+mfSdf/JlqpMx7/I2xN64ArWyguFOEnwNYDCLpNZhFoefK+5GR0n2yvcGTzmuJ7Du68gFp RmMqsyFnWHkSz0mkPBXAqjMnRXjxN6Nk8Gkg0i9nRiSvP6Fd7L6QAQfQE3rT/6SSck4BKztuw YumercgxOAKY1CSLB4HRtO5j9U8CrdLN4g0JP0HuBF55D9OI2uldNtM3OweR+YYC6O4sx/AAs 3IJwgOWcDLcFNdQF7ujiuvalCofZ/32aaSDd4tApPjum+nMQ596z539EWaSagmfXDb06CLHHo 5jzNGTXiI0PhqiAqLhnRY8VarYbVqhtpo9MizTwDE3yee7fD/mBAb9W9nBaiyqY1xcHOgO01v +FYYhkrkSG+akapPR/CvdwLsedhos0sgQc3VBo6y3R+v83v3i0= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: From: Markus Elfring Date: Sat, 13 Jan 2018 13:12:06 +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/usb/host/imx21-dbg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/imx21-dbg.c b/drivers/usb/host/imx21-dbg.c index b964f9a51d87..424dc705cc19 100644 --- a/drivers/usb/host/imx21-dbg.c +++ b/drivers/usb/host/imx21-dbg.c @@ -327,7 +327,7 @@ static int debug_etd_show(struct seq_file *s, void *v) dword, buf); } - seq_printf(s, "\n"); + seq_putc(s, '\n'); } spin_unlock_irqrestore(&imx21->lock, flags); -- 2.15.1