Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4300959pxj; Wed, 12 May 2021 02:31:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzBkwzUfutKGNlIyifSwf5uWUzKQC4AWjRRA4wqi0zRMLoWP5Kb5M9KsNQcJL4Z2QEOq/s7 X-Received: by 2002:a17:906:e10b:: with SMTP id gj11mr45652ejb.202.1620811867226; Wed, 12 May 2021 02:31:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620811867; cv=none; d=google.com; s=arc-20160816; b=Ko+BHHIO+LGcGbCmzlJVT79N3TRzbVynkh2EYRfNkEFXg5RaP1WDRcfH/I0TpWNBmk WZTZIenVcjRnr2oxOV2/eKt87Mc7aAwDwhtU4qkuTOivyFJm4c2fndgT7FVezYdIO1CP Z/Yl7Jh6TnQnriG0hU0uahb/tl/5xYkmwXbzvnUMdNaA+6N9iJsnk/WObG6SKYkEbwOo PIfxYADIOfCa2ypT3NPAlaJUgmhw4s+JkmHjWtZ97x1fwd0pwzgwsF/jUYIRnoCDMuvn 7me5iGrlqIGhVOwBuXqrs6BJzC6yIzgWhtZOm7B8ecSHgYTvkE+PQ15Rh+aCLEodfi/a L+2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=xvLvx9jf1p5JGEKYSpdTFpNbpPGdGXxMbhxL4rUgMEU=; b=FPow+msiwqh9Mj8jUN25orsBKhNUn9emMjg2Jf+G2F1OxjSCt+XAMt9DqQ6VM88JKu nt4mpk+9WQuRZoiz30KNNnn5v25vugfbXL5kQV//hPWoRJtDcBTujfmMrv1LmgLouYuB xkPXpwYbxO9I1emSG5LnIlPr1u/U/EZU59FkoYxmtBo329N39s/ZDtuPGSpXSuEFrvva Zo4PLej2atkQDWC5r6BhzqWXj1MtejDiFxgCtzEjdqtIcRQzAunb1pzjywWIM38rSuBv AThzFnD/rkMQuzUat+GQZE6uaY5mMC6cSK3487mb2fKvrDZPEyxqWyEURPMQ0Ksy5eG5 UcoQ== 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 hq40si20391535ejc.161.2021.05.12.02.30.43; Wed, 12 May 2021 02:31:07 -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 S230300AbhELJaw (ORCPT + 99 others); Wed, 12 May 2021 05:30:52 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:2457 "EHLO szxga07-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230149AbhELJam (ORCPT ); Wed, 12 May 2021 05:30:42 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4Fg8Z21YkkzBrL7; Wed, 12 May 2021 17:26:50 +0800 (CST) Received: from localhost.localdomain (10.67.165.24) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.498.0; Wed, 12 May 2021 17:29:24 +0800 From: Xiaofei Tan To: , CC: , , Xiaofei Tan Subject: [PATCH 04/17] tty: tty_buffer: Remove the repeated word 'the' Date: Wed, 12 May 2021 17:26:12 +0800 Message-ID: <1620811585-18582-5-git-send-email-tanxiaofei@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1620811585-18582-1-git-send-email-tanxiaofei@huawei.com> References: <1620811585-18582-1-git-send-email-tanxiaofei@huawei.com> 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 Remove the repeated word 'the' following advice of checkpatch.pl Besides, add a period at the end of comment sentence. Signed-off-by: Xiaofei Tan --- drivers/tty/tty_buffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/tty/tty_buffer.c b/drivers/tty/tty_buffer.c index 5509b5d..721491df 100644 --- a/drivers/tty/tty_buffer.c +++ b/drivers/tty/tty_buffer.c @@ -32,8 +32,8 @@ * We default to dicing tty buffer allocations to this many characters * in order to avoid multiple page allocations. We know the size of * tty_buffer itself but it must also be taken into account that the - * the buffer is 256 byte aligned. See tty_buffer_find for the allocation - * logic this must match + * buffer is 256 byte aligned. See tty_buffer_find for the allocation + * logic this must match. */ #define TTY_BUFFER_PAGE (((PAGE_SIZE - sizeof(struct tty_buffer)) / 2) & ~0xFF) -- 2.8.1