Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3559650ybi; Tue, 2 Jul 2019 09:40:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqzDCa7yQtf7xd4NZ4rUZ/nbUlLmxxj7dqRIxrTpclqpjyx4AXyNORIMKmBdo7PuO0xOD5im X-Received: by 2002:a17:90a:29c5:: with SMTP id h63mr6318866pjd.83.1562085648991; Tue, 02 Jul 2019 09:40:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562085648; cv=none; d=google.com; s=arc-20160816; b=bdDBnjKqTnobFjXVyQRPUkrj7WR9Wb3OmF2hdDQHV3TXl+KbowPq1Zeb88Gx3eU6ou L+Mk9/20uhf0kUUJJndv7/5aAqp4X5FOFb9cA4MSm3usHZhSnNkNSLsvddjwtP8cxGAr qNthi8trrfTplbeNzN5lEFxcQPZfpZ+ofnGyyQj/RBuYLew5i1cGINrpbJPE+S5uVeyg 5O0StmCPn2lW/6F399FHYWZyYnhE9VTAGUpQBAlXzafmV6yQQqievRxaTrh3CU6q07Vl ZcSZuSSH0l7ylrEqwlqqGW3t0eWGPoTx86IYWuoRZbn/3PJfGmdmYuacmw1ILHKKOQt7 Jz3Q== 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:mime-version:user-agent:date:message-id:autocrypt :openpgp:subject:from:cc:to:dkim-signature; bh=E4lncyBxpB9ic0eVeFCVj5+7sF8+j4Ruh4HtPFYU4yQ=; b=eloHI5zrCZVbagPi1khExjIx14qtUqbtss2wYJAj3A/ikijh3ZfY5xoCXsQpAFD6MW 2MjUt6KcbROZFuJRQu5oy0mBiIcA+ozemFYLW51Pmd/C9I/RK9CLmXnMQnN7Bv0xJHoO G7KCogDS6V87cWHzo6pZKtwyvGklav/jwFyR+BiYfcBzIqAE602yqkvM9tUvZmSEfcLF p30ANSus1x57ca2r7SKmJ71LN6XaRu1NQl/z6LaGfaPeWOyA0r/l2ypg4jUEOxP+/2Am 345EDmNyuEqYlv/6zz6uyeXhmOc2+LtVjnx89tgNZNVJeHrzUuOk6ujcOI33UVMSKCaV naQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@web.de header.s=dbaedf251592 header.b=mxlaVHmy; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n3si12463309pgh.53.2019.07.02.09.40.33; Tue, 02 Jul 2019 09:40:48 -0700 (PDT) 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; dkim=pass header.i=@web.de header.s=dbaedf251592 header.b=mxlaVHmy; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726966AbfGBQii (ORCPT + 99 others); Tue, 2 Jul 2019 12:38:38 -0400 Received: from mout.web.de ([212.227.17.12]:48861 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725972AbfGBQih (ORCPT ); Tue, 2 Jul 2019 12:38:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1562085515; bh=kMEm5ieX8htfr+OImIiGhIeC1vPtqJlqrNBvgOU7pcM=; h=X-UI-Sender-Class:To:Cc:From:Subject:Date; b=mxlaVHmy4XfFPz5w5L/9OcsfQYun8ahJ4bxROzFPOe65wONG9gYxJ/3QKyF1hceUE wq80HeWmATjqSgHpvHqhBZ3dQmpZYGKkqHQL4f3p1Q+hm96Wids1/CLPDZa+dhXBsw O0oC/ypO36Ol6MRxyjKlxFUsv0jR+rK+XIJzIAOg= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from [192.168.1.2] ([78.48.11.114]) by smtp.web.de (mrweb103 [213.165.67.124]) with ESMTPSA (Nemesis) id 0Lm4hJ-1iH8WJ3R8z-00ZiK8; Tue, 02 Jul 2019 18:38:34 +0200 To: linux-fsdevel@vger.kernel.org, Alexander Viro Cc: LKML , kernel-janitors@vger.kernel.org From: Markus Elfring Subject: [PATCH] fs/seq_file: Replace a seq_printf() call by seq_puts() in seq_hex_dump() Openpgp: preference=signencrypt Autocrypt: addr=Markus.Elfring@web.de; prefer-encrypt=mutual; keydata= mQINBFg2+xABEADBJW2hoUoFXVFWTeKbqqif8VjszdMkriilx90WB5c0ddWQX14h6w5bT/A8 +v43YoGpDNyhgA0w9CEhuwfZrE91GocMtjLO67TAc2i2nxMc/FJRDI0OemO4VJ9RwID6ltwt mpVJgXGKkNJ1ey+QOXouzlErVvE2fRh+KXXN1Q7fSmTJlAW9XJYHS3BDHb0uRpymRSX3O+E2 lA87C7R8qAigPDZi6Z7UmwIA83ZMKXQ5stA0lhPyYgQcM7fh7V4ZYhnR0I5/qkUoxKpqaYLp YHBczVP+Zx/zHOM0KQphOMbU7X3c1pmMruoe6ti9uZzqZSLsF+NKXFEPBS665tQr66HJvZvY GMDlntZFAZ6xQvCC1r3MGoxEC1tuEa24vPCC9RZ9wk2sY5Csbva0WwYv3WKRZZBv8eIhGMxs rcpeGShRFyZ/0BYO53wZAPV1pEhGLLxd8eLN/nEWjJE0ejakPC1H/mt5F+yQBJAzz9JzbToU 5jKLu0SugNI18MspJut8AiA1M44CIWrNHXvWsQ+nnBKHDHHYZu7MoXlOmB32ndsfPthR3GSv jN7YD4Ad724H8fhRijmC1+RpuSce7w2JLj5cYj4MlccmNb8YUxsE8brY2WkXQYS8Ivse39MX BE66MQN0r5DQ6oqgoJ4gHIVBUv/ZwgcmUNS5gQkNCFA0dWXznQARAQABtCZNYXJrdXMgRWx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JhbzN+r9djSGGN/5IBDfUqSANC8cWzHpWaHmSuU3JSAMB/N+yQjIad2ztTckZY pwT6oxng29LzZspTYUEzMz3wK2jQHw+U66qBFk8whA7B2uAU1QdGyPgahLYSOa4XAEGb6wbI FEE= Message-ID: <8c295901-cdbd-a4a2-f23f-f63a58330f20@web.de> Date: Tue, 2 Jul 2019 18:38:27 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:59LErC1OHXzOK+/huKorSLnMlbLrM5Gyy9vRGlDuNxjtqkkVdIG fpHAw7upKHcuHTIZeH6zbX2NnvbEks6YUbKARkSZAG7SA8NbhV3KZEXbmHG2gdvZZyoz78I 5+2/9Z70xzbHURjl9/E32ltyGoHljxJaR526PdsTInsbvqbSLwrjZnvD/+/fC0+pFwgPIuU aeweUQoUG0Ayty8xLP+0g== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:AsXEBfPaCBM=:bKYT5Zn+01VunanI8BHwE5 k+qcdbtkna+LAmXGsicOrYuwI9WRtB75QA3OSBRkIVFSAgLAwS4XZGJPpsfXp3vnqPNACyHab dlqnNTl3bLu9sxgikHZL7k0SG26HNo2C3zQ0ctQ0SLoDL4zQXdZvvcWg9PSAazNyznJpvCS/1 tzEXyc9pJgjZWA7cuOLel8Ab6+rAy7ZpkhNzfgW/e0pQEMcefyydZiOhHm6vD48GhVw6TR6Sf jSCTxSq+KD6Gjt039ojMEWMnAkjkycseMwsr6OBseF/4VpFZhnB0va2e+qzkgKnSD1+pJN9Vm asoh28srM0n4FiJd/WcLdDcTBGWXMWhn+N+guK66mHxvrWqV5dGIBsv94PT5el/A1YK5jFa2e VpVkxQoYX9RgPafLDhhGaBOlG09VKmBxGGZgHsxRHkhDIAHi0N9aNQH/adrLigdYMTWJYcvy+ oBTwwwoH92B4v0GHrlmvWQWnYpNjguJygeL06NdpbIHvuDQ57eUKt0NZLUwjEKTGCld3eaYMs CK8lIEC75bbbYtbNasq+W02/hy8ho2GE0GOJ+EWn7UZ8f1ImhstftWfoX8bLjEU6FAiJyWpjc pHbpq33aifCRecngH0vDlS2vvsvEiqY5qBSSHg5G/xlKIhEKnKNUyX0WN6qV0kOY+eWJiUNYx tzhIgBwsQQx1VBCaiOZMOvC7o1LWGx6ZscLS9YOVr4NsD0kfxaDqhz3SH0rcWTe3bVx0aZbiS TlB3EnuRuhDtUVRdoNlramvkKpUHenRbqLw3PqNm6OqX7FRiuPRw6VF1R5VvTuJxUzLxQNhRE ss2eUgdhOLRTlsn/O75TEh5V+B18lItu5uQcC45tX73EYEZC/Ko2xa7ZURZJjFeaRab0GA//o eb3LsnuRjgvjBclpw5JkT2kmsmnTyLHkF/aZ2SwXy+66q7qCi828CAa5MpS8HLo1ewHOIZ9m3 yVlQNV2K/tGiPPEPzEZiaG7HBE/+o0Pa2+3ARq34gOlbJl2I2v1IQGo5c1orVpx1dKMagsq39 s/9FR2FEL4eTL14iaDEl/nAnVG3ozThRQqpdMrvs8XEytskI498lG5becOJ18qZuzJq+TBfEe RAXtJJtS8ABnpKE/5l3XsuxGDS3viqaGkKm Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Markus Elfring Date: Tue, 2 Jul 2019 18:28:10 +0200 A string which did not contain a data format specification should be put into a sequence. Thus use the corresponding function =E2=80=9Cseq_puts=E2= =80=9D. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring =2D-- fs/seq_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/seq_file.c b/fs/seq_file.c index abe27ec43176..ecc68e9dd31f 100644 =2D-- a/fs/seq_file.c +++ b/fs/seq_file.c @@ -868,7 +868,7 @@ void seq_hex_dump(struct seq_file *m, const char *pref= ix_str, int prefix_type, seq_printf(m, "%s%.8x: ", prefix_str, i); break; default: - seq_printf(m, "%s", prefix_str); + seq_puts(m, prefix_str); break; } =2D- 2.22.0