Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2378842pxj; Sun, 16 May 2021 23:47:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyF60gFDgjscI0fsNc8ml/0anA4iPnwBISsrCmfBtHai9rKsOZR+1GGWot54NhxtF+tJGdq X-Received: by 2002:a05:6602:140c:: with SMTP id t12mr42096687iov.169.1621234026122; Sun, 16 May 2021 23:47:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621234026; cv=none; d=google.com; s=arc-20160816; b=iegoBhDkqt8a5AsKm0SUcO3aIKSxfUZtPuOry6i9Avjv0jWZeOlsQFjQdyhmQSg4Et F3JfrFbhNscLrZea2uOxKkp03VO9pKK5sOjN5t29Cjh5ZsHFVQRfzNyKTRxQgHew6ioB MUA18DN36MnGCrRqUyXNJmeXGEOfUm2LaxQtf9iFs+51Qp4zpc3DRfYgHP+WV//sh4al 2AT+jPF2SMnkE15ps0Tqp9y63iiAg7122UXnlJnhrUQsnk7UcgsrTYI3Br07wfY2dnYM 0Ulip3CX7Cu9KyOyt82HbCj1sRUYQTBIwlRcNk1OjuQviMgD5tB2tuKJzZVLx+BBKxRY 3/dQ== 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=nfxCF3Uot8A1cIOKOMFFBOjN9xHFMvuqtXYDLD6Dw3c=; b=Qav+GR+93y8PonejZp+7Af1D+iFdpLznuPbZG7RVaB5xk3+/R1+BxkFiqy2KqYzGN2 L/gJtLMrsFm+gShhRiqKOuQZxNv1T5F9mMcxDqDtcrFZdcaPr8I06kBb/TfdxCWzTW7F EkatLnHY55J3aNMtPeyXeWBF6u4v32J0G5PNnVy8lt2RCvYQ6zq8N/wyrk1KcJjyjt6o FMf/N2lnXgsI5QdqhDvmB84GXJZlmOuFadzUCCheHoQHzoTQgM+QYyAwVS07aXgGq+8I IlC0x0fkzSweJHCfoHBSMhSrfME6KJ0C0YQnOtOyh5jSJwfjqK4fds11MnBO82gxZsYF GFVg== 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 k8si17705904jav.68.2021.05.16.23.46.53; Sun, 16 May 2021 23:47:06 -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 S235188AbhEQGmW (ORCPT + 99 others); Mon, 17 May 2021 02:42:22 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:3563 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234905AbhEQGlx (ORCPT ); Mon, 17 May 2021 02:41:53 -0400 Received: from dggems705-chm.china.huawei.com (unknown [172.30.72.60]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4Fk8Zf3GRJzmWHK; Mon, 17 May 2021 14:37:46 +0800 (CST) Received: from dggpemm500001.china.huawei.com (7.185.36.107) by dggems705-chm.china.huawei.com (10.3.19.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Mon, 17 May 2021 14:40:30 +0800 Received: from localhost.localdomain (10.67.165.24) by dggpemm500001.china.huawei.com (7.185.36.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Mon, 17 May 2021 14:40:30 +0800 From: Xiaofei Tan To: , CC: , , , Xiaofei Tan Subject: [PATCH 2/9] tty: hvc_console: Fix "foo * bar" should be "foo *bar" Date: Mon, 17 May 2021 14:37:06 +0800 Message-ID: <1621233433-27094-3-git-send-email-tanxiaofei@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1621233433-27094-1-git-send-email-tanxiaofei@huawei.com> References: <1621233433-27094-1-git-send-email-tanxiaofei@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To dggpemm500001.china.huawei.com (7.185.36.107) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix "foo * bar" should be "foo *bar", reported by checkpatch.pl. Signed-off-by: Xiaofei Tan --- drivers/tty/hvc/hvc_console.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/tty/hvc/hvc_console.c b/drivers/tty/hvc/hvc_console.c index a1eca9d..ddf07ff 100644 --- a/drivers/tty/hvc/hvc_console.c +++ b/drivers/tty/hvc/hvc_console.c @@ -344,7 +344,7 @@ static int hvc_install(struct tty_driver *driver, struct tty_struct *tty) * The TTY interface won't be used until after the vio layer has exposed the vty * adapter to the kernel. */ -static int hvc_open(struct tty_struct *tty, struct file * filp) +static int hvc_open(struct tty_struct *tty, struct file *filp) { struct hvc_struct *hp = tty->driver_data; unsigned long flags; @@ -386,7 +386,7 @@ static int hvc_open(struct tty_struct *tty, struct file * filp) return rc; } -static void hvc_close(struct tty_struct *tty, struct file * filp) +static void hvc_close(struct tty_struct *tty, struct file *filp) { struct hvc_struct *hp = tty->driver_data; unsigned long flags; -- 2.8.1