Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp935750pxf; Wed, 7 Apr 2021 15:29:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2ktnadOl9XJuERn1tmXsM15vUc/pf/0rJ4jrkj89sT1O/KgUO0D7S9lYpY/5wYyePEl1E X-Received: by 2002:a05:6402:1a54:: with SMTP id bf20mr7285343edb.345.1617834580518; Wed, 07 Apr 2021 15:29:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617834580; cv=none; d=google.com; s=arc-20160816; b=SsLkHb7B3a4Li+WqlkvGc29hNqLeivSm2+ccvuCyYpSP3WPidAl0B0k5cl5O3yYVeS wNLEbJ/VWEWtiMR67n76pcwGsJpOjt4LoKmkEH8wdYDG5wMwcfJ+LB7mXQulsHilP/L9 +EZtUQr6eQb8AxYToHW4B7JRl6PVWOPiIISSiX10sMAP9lKNBOzXlYlM2YI3kBzqgsH/ glMKW8lPxa9xnL1y/yw9ftpAlzj7S6yekCr3CSHDzKCb/HwYk9nuv5MBJ4T7MC8sk0A5 ysqKXpS1YyhO3AVTxV7uERTvrlqmys/bbHuMFFDFW7UQCL2vAECFotzcpN6le8uZyJOG t9yQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=dS/Dlx36gGiXmCQQjoe6EOMoE1nCnwVXlcNU02z3yzw=; b=omP7I+USVSd0KbrjiX5O8+qzlr6ofgoWCQzuWljY6v6GY47hMIXq8niNSYwPxA8y6P rl5MpeEUID8iTdrb7ZwjPtIE2DqzQCxbaFiVy6tjiBGMSqPBqpLHM+VRJMaa/OPHWbEo AYpQfJynyJT1m3iCdfXdiRqgcSGrI7EhNuYB6NnkkwGxeSgEPHviOk3GJFzCr7qa8bwt jxp3dJrMQuUq8HbI2YwVkFWtypWyZNEmz4RSgh4AmjEn5g/mjGC36BhIS3t+UwqNWhP3 TC4ZCfJuxJCWhg6DCPWlAVEwaa8ck3iOJJ7VAxzqppq9sIt+z6Kczf3r13/Kd/28D83b 8ZMA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m26si21509250edv.514.2021.04.07.15.29.17; Wed, 07 Apr 2021 15:29:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349325AbhDGHJt (ORCPT + 99 others); Wed, 7 Apr 2021 03:09:49 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:15146 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243878AbhDGHJr (ORCPT ); Wed, 7 Apr 2021 03:09:47 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4FFb6Z4TZ4zpVjf; Wed, 7 Apr 2021 15:06:46 +0800 (CST) Received: from localhost.localdomain (10.67.165.24) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.498.0; Wed, 7 Apr 2021 15:09:25 +0800 From: Xiaofei Tan To: , CC: , , Xiaofei Tan Subject: [PATCH v3 00/10] tty: Fix some coding style issues Date: Wed, 7 Apr 2021 15:06:40 +0800 Message-ID: <1617779210-51576-1-git-send-email-tanxiaofei@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix some issues reported by checkpatch.pl. All of them are coding style issues, no function changes. Differences from v2 to v3: - Fix the misunderstanding of 'period' for the patch 04/10. Differences from v1 to v2: - Remove one redundant tab for the patch 02/10. - Add some expression optimization for some sentenses following - Jiri's advice for the patch 04/10. Xiaofei Tan (10): tty/sysrq: Add a blank line after declarations tty/sysrq: Fix issues of code indent should use tabs tty: tty_jobctrl: Add a blank line after declarations tty: tty_jobctrl: Fix coding style issues of block comments tty: tty_jobctrl: Remove spaces before tabs tty: tty_ldisc: Fix an issue of code indent should use tabs tty: tty_ldisc: Add a blank line after declarations tty: tty_ldisc: Fix coding style issues of block comments tty: tty_ldisc: Do not use assignment in if condition tty: tty_ldisc: Remove the repeated word 'the' drivers/tty/sysrq.c | 35 ++++++++++++++++++----------------- drivers/tty/tty_jobctrl.c | 29 +++++++++++++++++++---------- drivers/tty/tty_ldisc.c | 41 ++++++++++++++++++++++++++--------------- 3 files changed, 63 insertions(+), 42 deletions(-) -- 2.8.1