Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4301745pxj; Wed, 12 May 2021 02:32:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwMtvxmWuBIop6LGOYW3EqJDBDveAOZpfnxLGLMTRrtkQ380TDYHTvXs0V3uFKctlCViD9D X-Received: by 2002:a05:6402:188:: with SMTP id r8mr29570268edv.75.1620811942050; Wed, 12 May 2021 02:32:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620811942; cv=none; d=google.com; s=arc-20160816; b=hPhnkXibgDMrS7rxHL2poVbLlt4pGGfuIjpnZfjsLliZ7egZ2wmOcM9GnEYTvTx+hK 69QnO3RstHAFe6UbVT52k1MFqX2NYPWXo9j14PALwoYkSHgta8wNt9vjaRjQwTjIyMbK uEQkbPR47BissoOIkpS31qqIsiGM9/bfOpkg7ah+IvTdfpj9EUoS1ibyjhNFUBfFnN15 0rkbALI+gxAAf3yTWq0Xk+Ml/ouxipJfGLxzFqih7wyt7UTw3CZ7qlZfJOhPiWxps/CT DQ9ErcCNKQa7bwCgJlKsLSRN++a2lI6S5xpJGWqU4/rebdJMomkL5OkM0s46ixkT1nLp 7vYA== 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=++80N3fkfSN/mAZ164MlwSmgicHvSwA2CmrRfcLgVOk=; b=XDaKU6pAm2ywiFNucj7MlJMG4rGp5BoZDntEl9e9/oreCE5It5XgN186tHTL8SjCaC S8gOfdHRr2abQQgyBmUcQQj0ft40aewceT7WaCQIJeQADDRCSQPrZ+3cr6R9NHmwfhUa qfDLx4zl0ZphC3sUdBxFG3nC7OCHHxiHslBrX4WW3CNkXlVHcNZ4pZ8VmTwlKR+6BywN AuPEQZma6YbPMgg5pE8b8aTC7S8p+xeH1maFQen+0PMJMOgS30n4XKQe7WADQCqdpAd1 bMY3Vd4SA1dtaPAFPKk11p4UC+wc5BhCW+66HQB1v6ByyaG2CLzrofqp13EsjbGKE7nv CQVg== 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 a8si15180000ejx.345.2021.05.12.02.31.58; Wed, 12 May 2021 02:32:22 -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 S230489AbhELJbb (ORCPT + 99 others); Wed, 12 May 2021 05:31:31 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:2649 "EHLO szxga06-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230213AbhELJaq (ORCPT ); Wed, 12 May 2021 05:30:46 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4Fg8Zj0LZ3zldXw; Wed, 12 May 2021 17:27:25 +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:28 +0800 From: Xiaofei Tan To: , CC: , , Xiaofei Tan Subject: [PATCH 15/17] tty: tty_port: Delete a blank line before EXPORT_SYMBOL(foo) Date: Wed, 12 May 2021 17:26:23 +0800 Message-ID: <1620811585-18582-16-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 Delete a blank line before EXPORT_SYMBOL(foo) so that EXPORT_SYMBOL(foo) immediately follow its function/variable, reported by checkpatch.pl. Signed-off-by: Xiaofei Tan --- drivers/tty/tty_port.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/tty/tty_port.c b/drivers/tty/tty_port.c index 303c198..397c2fd 100644 --- a/drivers/tty/tty_port.c +++ b/drivers/tty/tty_port.c @@ -698,5 +698,4 @@ int tty_port_open(struct tty_port *port, struct tty_struct *tty, mutex_unlock(&port->mutex); return tty_port_block_til_ready(port, tty, filp); } - EXPORT_SYMBOL(tty_port_open); -- 2.8.1