Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4301545pxj; Wed, 12 May 2021 02:32:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwKCD5rtZeRbh2mKSNN1Tqd4uDpIM0iwmhf1VzgcH9JD3hFQx7oJn4yBGMrvdihXjZU4IMU X-Received: by 2002:aa7:d84e:: with SMTP id f14mr42188711eds.220.1620811923426; Wed, 12 May 2021 02:32:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620811923; cv=none; d=google.com; s=arc-20160816; b=JMGNYZ8JWuiMl48eXVU4VePOga/X9Rw2BgWrsDaIUkUNII2lxKI2rkCy4K0iP7ETTw rerLLtANoR6/ppBfAnbwd2AvrxBDQ8XyIF1DPgLMQDoaPPBHBnDhzhT+GeB37eS0XRab VKX5N6kAGH/hUFXAElP8XF0kSD+RGTalR2bpz4q+K/RTJiX6tRlnZIAcwy/MDm8pSRFj u4ubTB8+YDQ+opIomyCCyUEyyCHfjoEqA88Q25haCr1BVAk9u0ROzqTZRlkm2A1Okk2p ITgML7sMWedG4HET18YnuUQWfEvG+DMXUGKGKHndn71Tbny3Wi41c4+QrtwXuwoeQh1B BaCQ== 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=OoiGp/kmw200E9xuZEjklWwJkJ5nJg85sP8FXfUge2Y=; b=KMpMOCOTv1LRqHQOTt8ajcqAi07lbxG/VWHLtEKzXU+xjBEu0oJFpUMvMOFB/3ProM qox+Pn2dyhsIhemcarZvbXoHl3ZairqDwV4IRF5LNZ3PV5fY0NP715fQMAZoOmVoy6BW ikpv6nslRlCf9T0I0qSkGSqVtxuBG0sCfzUTQhGeVvPArue5gDwSbjc+AePbjf41Ht2s kROk1cbX0/rIRaBRuowBtib6HSXUKAgcY/S6NtSO6VS2X3GVnIeQi430hlgG0PO5zZNF lyPLFKfjWmgkRH21DRjIH6G0VAc/xmoGPB7t+H18/4M/CmTnb0XKbaa75w53ESJsJg4n MF5Q== 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 n2si27313224ejl.283.2021.05.12.02.31.40; Wed, 12 May 2021 02:32:03 -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 S230468AbhELJbU (ORCPT + 99 others); Wed, 12 May 2021 05:31:20 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:2644 "EHLO szxga06-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230182AbhELJao (ORCPT ); Wed, 12 May 2021 05:30:44 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4Fg8Zh6JpzzldXr; Wed, 12 May 2021 17:27:24 +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:25 +0800 From: Xiaofei Tan To: , CC: , , Xiaofei Tan Subject: [PATCH 08/17] tty: tty_io: Fix spaces required around that ':' Date: Wed, 12 May 2021 17:26:16 +0800 Message-ID: <1620811585-18582-9-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 Fix spaces required around that ':', reported by checkpatch.pl. Signed-off-by: Xiaofei Tan --- drivers/tty/tty_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c index 8b9430c..93a9142 100644 --- a/drivers/tty/tty_io.c +++ b/drivers/tty/tty_io.c @@ -2341,7 +2341,7 @@ static int tiocgwinsz(struct tty_struct *tty, struct winsize __user *arg) err = copy_to_user(arg, &tty->winsize, sizeof(*arg)); mutex_unlock(&tty->winsize_mutex); - return err ? -EFAULT: 0; + return err ? -EFAULT : 0; } /** -- 2.8.1