Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752174AbeAGITu (ORCPT + 1 other); Sun, 7 Jan 2018 03:19:50 -0500 Received: from mout.web.de ([212.227.15.14]:50417 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751652AbeAGITr (ORCPT ); Sun, 7 Jan 2018 03:19:47 -0500 Subject: Re: atm/clip: Use seq_puts() in svc_addr() To: Stefano Brivio , netdev@vger.kernel.org Cc: Bhumika Goyal , "David S. Miller" , David Windsor , Elena Reshetova , Hans Liljestrand , Johannes Berg , Kees Cook , Roopa Prabhu , LKML , kernel-janitors@vger.kernel.org References: <97636808-1d9f-d196-ebce-fbd2505c50e2@users.sourceforge.net> <20180106232539.5d6bb620@elisabeth> From: SF Markus Elfring Message-ID: Date: Sun, 7 Jan 2018 09:19:17 +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: <20180106232539.5d6bb620@elisabeth> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:K20AHiGznxKROas+V84/f4R8OVZOX1RiRsAS/fwGc9Db2D1aUkl S9K6xSsdRGVWSAbuNX1AXS/JOpu1Hb2xZKsKEtLowNgC9dSQ1zuA7pcnVHqwP2IaPpK+2GZ sodwIYw95mpuUu+GMj+bxLpnub65sg6wdToo5HibCr+xzNKUqSrA0tefcD0ltw/YvHjk/no T7vVc/gkiZXATESDi6IEA== X-UI-Out-Filterresults: notjunk:1;V01:K0:OKHdLsdS2v4=:LCzwoiulVv6g5Gng+jG56s SjRJe41WOsK0h5CnK+yed9+Tnb46j2Ehp2GrVdZFQIZy9I/e0jMAyKbEGWO6LXMY/5gZTPHQn qtw1mpLeSCgedeS6DRVd4tJ1KQOiHZY13FJQM6s+aojDxbO29gi+E7bd50Apd/M7zeGDVxXc5 CqWqCEV93rzcNBNwC26wpmm565wopjbXUpo3bRIrFYayJbEK8Jv7w3i41ovDcHs+e98QSQH5H uEwmZCZQoi0nQdLLdeT9cKncBFuZv3P41gIXTVpkr0zd4NkCHkseQOvrS+FGM6WjAnK2ejDQe zmxpjXr2VUrzmLzxPQ1g5O/Czg83lyiqArBHhc29+gGFCDFxOlFwvhUOE9Ax2zh/McV9Tt0mH Kvxw6yprV96UdA7bv34OABf0RCSgMp9ZcVfWRlVKr1GZoWorOvxkT0RMtdYgzL/RPdPs8EWl1 CqNBGx23FXOZ0hqldEfquRg1c0RGMQwSRbBcmhMa9ED/IQdFfduf4RotZJ1BHjgG8xIXAlJd0 5PZ0xMA7QPQDRzpsiSyACWg8lQZlFb2wl8QgoTdYChoqhO+Yt6GFybm1M9x7hj1WOj/YmVJUY Whuv3B5MGFPB95HuWicSnMkY/DwarH6z8zX3vLREgsdnnvdCCScPTWrV2alJs5WlrUsMRiJlK rKC1Xtam3JzUdr6XqywgQS4Rtu3COjO4sGs04CekPyIYbCGj5cF3SvIGhuEB5v7BmXcsbMCTH 6HxH6JoL6PKQn/b7jvCnchMla05ZqnStk37MjuQGQIeiMVUxL9g6x4Gm5Hprw2dfOPAxk282c rTgTi47W0JCicWtUFc7Utv6k0xEpu16RsclTx46huRuvI2UIV4= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: >> Two strings should be quickly put into a sequence by two function calls. >> Thus use the function "seq_puts" instead of "seq_printf". >> >> This issue was detected by using the Coccinelle software. > > Can you please explain what the issue really is and what you're trying > to do here? Is the function "seq_puts" a bit more efficient for the desired output of a single string in comparison to calling the function "seq_printf" for this purpose? > One shouldn't need to dig into Coccinelle patterns to find > out what you mean, Why did an attribution for a software tool confuse you? > and "strings should be quickly put into a sequence" > isn't terribly helpful. Which wording would you find more appropriate for the suggested adjustment of these function calls? Regards, Markus