From patchwork Wed May 3 18:36:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SF Markus Elfring X-Patchwork-Id: 9710281 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1C7116021C for ; Wed, 3 May 2017 18:36:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1300C28692 for ; Wed, 3 May 2017 18:36:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 056492868C; Wed, 3 May 2017 18:36:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BDE2C28631 for ; Wed, 3 May 2017 18:36:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751528AbdECSgY (ORCPT ); Wed, 3 May 2017 14:36:24 -0400 Received: from mout.web.de ([212.227.15.14]:63150 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750737AbdECSgX (ORCPT ); Wed, 3 May 2017 14:36:23 -0400 Received: from [192.168.1.2] ([78.49.19.122]) by smtp.web.de (mrweb003 [213.165.67.108]) with ESMTPSA (Nemesis) id 0Lmu5s-1diePU2EQe-00h7dN; Wed, 03 May 2017 20:36:16 +0200 Subject: [PATCH 2/2] blk-mq-debugfs: Add spaces in queue_poll_stat_show() From: SF Markus Elfring To: linux-block@vger.kernel.org, Bart Van Assche , Jens Axboe Cc: LKML , kernel-janitors@vger.kernel.org References: <507a3eee-6dfe-c218-1056-38221bd22be7@users.sourceforge.net> Message-ID: <49822157-111d-0f44-3a5f-bd070cf7ebc7@users.sourceforge.net> Date: Wed, 3 May 2017 20:36:15 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0.1 MIME-Version: 1.0 In-Reply-To: <507a3eee-6dfe-c218-1056-38221bd22be7@users.sourceforge.net> Content-Language: en-GB X-Provags-ID: V03:K0:sWDyhSwqI3f9dujqBErL2EkVTEI47VQSu07KJJZzb//Hyjuq/MJ HpdbF0BtQ3ev992vdG2O8fRDBWjUEM5Cfm1umu0K4WXHDe8lSrTaTNVOJP1m3XivoKb6ymt mrIoe307qS35crDJL4awLZe+LEaGLZIHClbuGQJo224gEE4GZMc+nDPp+VavO5Z9eVkefmA kEY/70DFagPj0xY/oU6Fw== X-UI-Out-Filterresults: notjunk:1; V01:K0:OMgr4jzpeB4=:GNJoUS7yy9s42QC+xP1HKv GDp6FlghV8NmXtaMOBD7Cs0SFtw6CGFdnEtnbUUzaq9wNYczBmA5C2Cy2tlUOJoZyBWpq9m9S JYjL4bvkfvUMsUEz37ibDo4/bGVN+egaSg4sp/pwVhF8XXTgCnWIOnLopCoDM3YdJsTENDJBG TT2hwO1gbs1g6PTnI5wzll5bSbIN3F/LeS5xLweanHLOvXHdkAdi4CQMhlV6Dm0G5bM4veXIU 8Qh3HBDzpHvfU2Z/jKliSz3zGq2Nc4T611wiCPqT+gQ/HQk3E0S0GWZuF2WC7Xl8g72pfZ3KY 7OKNCOK02g4FG74axQ8teDS1Vdoje/nTrA8Y5817gZ/pt1PXlqfgvqKlKKMKuGXkWHEnkEqkV I59QZbaScu6wZ/1F/VTeR6RplfPUgrKkzVmyRhSfugvunAVerF5SWWe/8+VQx+hSym4EuPESb thurom1DW6q4CcnuQmz9hdheOYJ2qgVIX13mBxMlqP1inw8qs9X1+IuuPwmaw9RUC8TgVLy/1 PLwpBEdLgDSR//pn0WJj1PDI/xv+ecAxxvG3yeOUPzXB+uyCbjg3zfxPBneWQwJM55SjBEQel feCsjRXNtkH2XhF9bgKgLeKcyd1684LcNjGHATcRInZyB890SMzZYyohfHqyeCcJaLtrWVC7n u8GPiUqSLB4W+ZNhRUIPD02W0+sMbQEAlmqN/IoylfvCXuK7ObcW8uTQ+lBAI7z/L9ibazvEi B6psNuoy86Bglv3ZimYyRNkl0Gr3F0L+yXW/xQBcZyaSDDiZT724WWZfb1zT3erofTyZ1PeZE 86VjH4M Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Wed, 3 May 2017 20:18:22 +0200 Use space characters at some source code places according to the Linux coding style convention. Signed-off-by: Markus Elfring --- block/blk-mq-debugfs.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/block/blk-mq-debugfs.c b/block/blk-mq-debugfs.c index 2265b70b1121..34cdd5f2b511 100644 --- a/block/blk-mq-debugfs.c +++ b/block/blk-mq-debugfs.c @@ -156,12 +156,12 @@ static int queue_poll_stat_show(struct seq_file *m, void *v) struct request_queue *q = m->private; int bucket; - for (bucket = 0; bucket < BLK_MQ_POLL_STATS_BKTS/2; bucket++) { - seq_printf(m, "read (%d Bytes): ", 1 << (9+bucket)); - print_stat(m, &q->poll_stat[2*bucket]); + for (bucket = 0; bucket < BLK_MQ_POLL_STATS_BKTS / 2; bucket++) { + seq_printf(m, "read (%d Bytes): ", 1 << (9 + bucket)); + print_stat(m, &q->poll_stat[2 * bucket]); seq_putc(m, '\n'); - seq_printf(m, "write (%d Bytes): ", 1 << (9+bucket)); - print_stat(m, &q->poll_stat[2*bucket+1]); + seq_printf(m, "write (%d Bytes): ", 1 << (9 + bucket)); + print_stat(m, &q->poll_stat[2 * bucket + 1]); seq_putc(m, '\n'); } return 0;