Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4402736pxj; Tue, 25 May 2021 07:15:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyEzP13f92QHMc7//olS2p10ytNLfkS7peOubuUwa6DWyl11gSVvSD2OkwTEjFkYTZmIgov X-Received: by 2002:a17:906:4341:: with SMTP id z1mr29302100ejm.422.1621952113392; Tue, 25 May 2021 07:15:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621952113; cv=none; d=google.com; s=arc-20160816; b=WOkndbMhIUUdDCmvnZLCl60unpp4GHwskRQ0gv26uCnUy0PVtQYNDXpZK8Tfnx1s3K kPUrMbMG+wgrsrF2GOhjQhNf5J1/gpzBwt9HZYf3q91hqLuLRzZHygJlxYWngcDUTR3g i4o7hdWNiYxJpPNqs+0+3VhYq4xGot6tSXVrNBjG0HucYeYQWioRP9EPz4ce4rmPEbbg 4yssk5uaCd7155C97gsNRg0X5XH/e+IfYdXGz3mXaGpEfZNZZ6uXQ9pI6HABNJaFNPZM OCse4uskjwKMk55bnBqfAuiLXfQyAYskhcurHkcSbaDkUtoVukb30uFKHcN1uiyBjgnh JNLg== 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=kVPR4PbXdaFiBXKGSG9fZ8RscMTJxqoy0HfFDaIdkCM=; b=gfiD9HdwoMre1Nf0OCr5Tr8E7YtNuAaAHvsGIqHgkve1UVkX4X2+q8gOmrUaMtrz4/ hwh5940jHl4pAGgsYxnG78QQeptzcepZikk+2/k69k4rKvJF6CoulBhx/UyQWQzZvMAB 2mFekrjLr3zDmFOdQd9etv8zDxwfqxuN6wgP+XMMsC99MD1Inmf5kov4U9hti8LvuHL2 pfOm8ml6rPkMRQlYInhx67nFHgv85UvgoAogxb400B4D+h7qG8A9mQjYXFgMTB9VHEOu XvLqCcljT+ilcS5iOIPsxZZSmXZc+J2u9qZ13NSanCVJmBzTpT8jYYxBntXGWy+kw/ax o6pg== 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 f8si16968400edk.566.2021.05.25.07.14.49; Tue, 25 May 2021 07:15:13 -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 S233872AbhEYON0 (ORCPT + 99 others); Tue, 25 May 2021 10:13:26 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:6708 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233716AbhEYOMd (ORCPT ); Tue, 25 May 2021 10:12:33 -0400 Received: from dggems705-chm.china.huawei.com (unknown [172.30.72.60]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4FqG9k4GgxzlYM8; Tue, 25 May 2021 22:07:22 +0800 (CST) Received: from dggemi759-chm.china.huawei.com (10.1.198.145) by dggems705-chm.china.huawei.com (10.3.19.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Tue, 25 May 2021 22:10:58 +0800 Received: from localhost.localdomain (10.67.165.24) by dggemi759-chm.china.huawei.com (10.1.198.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Tue, 25 May 2021 22:10:58 +0800 From: Guangbin Huang To: , , , , CC: , , , , Subject: [PATCH net-next 2/6] net: wan: add blank line after declarations Date: Tue, 25 May 2021 22:07:54 +0800 Message-ID: <1621951678-23466-3-git-send-email-huangguangbin2@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1621951678-23466-1-git-send-email-huangguangbin2@huawei.com> References: <1621951678-23466-1-git-send-email-huangguangbin2@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To dggemi759-chm.china.huawei.com (10.1.198.145) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Peng Li This patch fixes the checkpatch error about missing a blank line after declarations. Signed-off-by: Peng Li Signed-off-by: Guangbin Huang --- drivers/net/wan/n2.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/wan/n2.c b/drivers/net/wan/n2.c index dd39789ebfa0..5ad8c5032900 100644 --- a/drivers/net/wan/n2.c +++ b/drivers/net/wan/n2.c @@ -143,6 +143,7 @@ static __inline__ u8 sca_get_page(card_t *card) static __inline__ void openwin(card_t *card, u8 page) { u8 psr = inb(card->io + N2_PSR); + outb((psr & ~PSR_PAGEBITS) | page, card->io + N2_PSR); } @@ -283,6 +284,7 @@ static void n2_destroy_card(card_t *card) for (cnt = 0; cnt < 2; cnt++) if (card->ports[cnt].card) { struct net_device *dev = port_to_dev(&card->ports[cnt]); + unregister_hdlc_device(dev); } @@ -522,6 +524,7 @@ static void __exit n2_cleanup(void) while (card) { card_t *ptr = card; + card = card->next_card; n2_destroy_card(ptr); } -- 2.8.1