Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933832AbcJFRu0 (ORCPT ); Thu, 6 Oct 2016 13:50:26 -0400 Received: from mout.web.de ([212.227.17.11]:55295 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933389AbcJFRuR (ORCPT ); Thu, 6 Oct 2016 13:50:17 -0400 Subject: Re: [PATCH 37/54] md/raid5: Replace a seq_printf() call by seq_puts() in raid5_status() To: Joe Perches References: <566ABCD9.1060404@users.sourceforge.net> <786843ef-4b6f-eb04-7326-2f6f5b408826@users.sourceforge.net> <92c52f1d-d151-cea6-e9ac-31378e6862d0@users.sourceforge.net> <1475771699.1914.10.camel@perches.com> <1475775403.1914.13.camel@perches.com> Cc: linux-raid@vger.kernel.org, Christoph Hellwig , Guoqing Jiang , Jens Axboe , Mike Christie , Neil Brown , Shaohua Li , Tomasz Majchrzak , LKML , kernel-janitors@vger.kernel.org, Julia Lawall From: SF Markus Elfring Message-ID: Date: Thu, 6 Oct 2016 19:49:12 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <1475775403.1914.13.camel@perches.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:LoYP8smXZIbEy5s6s8AmIHIT7LkZfedOUb9K6c5sz7D2Y/pmMco yX9EhzX2BNo62CKfKxHTpR1pSAQEPknbfujCfh+b4uO3zDUWDwpLfRgYN0dqxPj7V8fQIW/ 50R/Xkkhdb4A+yvEsr1iPHN9jNWUBWf6B1000r/6EwTerhJ6zwz98iCRSax4aojo1lae4wA mIuErGRL7MRagiovTiMHg== X-UI-Out-Filterresults: notjunk:1;V01:K0:9ZcDEiqn5p0=:FZtPc+l+U9oCrho4GbcPGz FW1/c093fAp8B3icw5Azbq9COZRmt5K/ocsem1MKCnTqbUDoPZhtgK1o9gPgo7MjUtT3dmrUr tmiwi3REoFILNLyeLF7Hl3INvo+3iG6HDjAeB6ioEIr2bmPMmjmu/YbMapfHrCiFX+/maZ2J0 ucyBcBHayl723jB6UILnZcc7Rxf+tVYof7Cm3SUhw8FHMvoDBEIXW2pIlpRkajZUX/HE5V0Em JrPi2kdFdMZh2a6h3JyNVlNuF0nhPq1t9X5iIpsh8cOAIdf1zHdJJWiLF7zGTMriJO7bQglMA W5yZI+WRV6OMd3EluVsYRJScsUc6VET/8Uc/QoAczXPk0x5jndXtMV4Y9TRaU4N+URKa72W3Y 6WdS7+9yxvieAO0gYfiRKPTfPeo9hSQGur0bm++GeuniLJrChIOlKdYsyKEozjr3bk6mfJo/n B1ECrSuxJQM6Theh/Pln/VT8dOCMZotULJ1kj02x/LnXa1vYa2O0xod/PAPMSfuHOQxwEHfY5 BtLHx4OPNbd2Q99zsmYj1WfdeLR4wscUclaEETKawOfcv2Qd+DdNbL9ygLB2g4dJeliFdPKad DlHI3CfZ3GrR4JM+daJR9myDRMb+ZEsDP07J1qcyOg4o274W5zvRaRvEY8Chl6hEGQUXu152q S5WrLQ0OfmtJG4BPDT+015l6dsRDp970QHOito1IebRdnqVI5I3+kEU2Uzn5oWLJWeYkrIEl4 qoQz53ayrqI/vq7b7GqsS2tYrx22Xe7HdANW3FUlwXL0E3rjNNo8OfbO7K38TRXFWAEEEzN0O GUeBO7J Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 730 Lines: 19 >>>> diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c >>> [] >>>> @@ -7044,7 +7044,7 @@ static void raid5_status(struct seq_file *seq, struct mddev *mddev) >>>> rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); >>>> } >>>> rcu_read_unlock(); >>>> - seq_printf (seq, "]"); >>>> + seq_puts(seq, "]"); >>> seq_putc >> How do you think about the possibility that the script "checkpatch.pl" can also point >> such a source code transformation out directly? > > Why don't _you_ try to implement that in checkpatch instead? How are the chances that any other software developer would be quicker (than me) for such an addition because of more practical knowledge for the programming language "Perl"? Regards, Markus