Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5150850pxj; Wed, 9 Jun 2021 10:15:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJhf4QLqVd/IVPgLEjq5jTvaa59iVl7l5Ypz/yzbMHANmcJ9aI2dYeKin0iVykzolXdOvl X-Received: by 2002:a05:6402:1b09:: with SMTP id by9mr459262edb.201.1623258956045; Wed, 09 Jun 2021 10:15:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623258956; cv=none; d=google.com; s=arc-20160816; b=bB5hO7jfm+9hH20jcUJCMoViG4kQoZoRcf8audtHKehoIPveN8sLnVJ09hLdAq8XPI OfLCLglUKPolLHPAoXGwb3H7OT+NtmRARG69qxhKsgttM7y4dMs0aZLRAuK1MQtRIy6z ltKcjQggxg3AGmDdJ6gD3w2NAbgdnCKRZ0euI8CA5coCref77v8kxBC0jzTdZrss9cZo tXxpZY5hzk5moX+bKMgFFD7ZeT5PKKKrOKDj3KVwCQzWjqteIJgaDp1p4bgFWQKmMYaz aYz1QkroFy0AGJmMcW/4KLl/eyVidrMyAGrAu2lOW5aUnQp012N0MufLNuptvXmfU2NT sGYw== 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=aZQIxXXNgetUjbGhYiDWuTY53zQZoIZmEfVYrpOJmrY=; b=nugDLTiapABXdUd2pRs9Ze5WzENJw5THyvXYk5/PfAq77XoQFnStkqV64nC/6NjTGX aMIXtpa62tRA0L6flTutqC1df2b5BonstyibT8Om8fI012F2jcqP3d2tmk6+WOBmWxWw j7WhgJ6iYnyG990/LzOih9tbmcLqhKDiBJ1NmaIVXf33959RXt3YYw7vh3ZZx97jXgTU bTCx8gTcfBaSSLKakD7X1X+DiRt/7tG2uhLIvF6WCiOhdGu2w4aLbkfStuCPuuX9jdOk eM2M/kyjCpmzV9hZ+oIzXOdc6C/0ORd0SyF4RY8r/SCC7T14/muEY0KdxuABBWMvvyCL Y9xQ== 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 n2si193195edb.238.2021.06.09.10.15.31; Wed, 09 Jun 2021 10:15:56 -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 S238221AbhFIJpQ (ORCPT + 99 others); Wed, 9 Jun 2021 05:45:16 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:8112 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238175AbhFIJpQ (ORCPT ); Wed, 9 Jun 2021 05:45:16 -0400 Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4G0MXZ20QMzYscl; Wed, 9 Jun 2021 17:40:14 +0800 (CST) Received: from dggemi759-chm.china.huawei.com (10.1.198.145) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Wed, 9 Jun 2021 17:43:04 +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; Wed, 9 Jun 2021 17:43:03 +0800 From: Guangbin Huang To: , , , , CC: , , , Subject: [PATCH net-next 2/9] net: lapbether: add blank line after declarations Date: Wed, 9 Jun 2021 17:39:48 +0800 Message-ID: <1623231595-33851-3-git-send-email-huangguangbin2@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1623231595-33851-1-git-send-email-huangguangbin2@huawei.com> References: <1623231595-33851-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 --- drivers/net/wan/lapbether.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wan/lapbether.c b/drivers/net/wan/lapbether.c index bb529ef..b6aef7b 100644 --- a/drivers/net/wan/lapbether.c +++ b/drivers/net/wan/lapbether.c @@ -303,6 +303,7 @@ static void lapbeth_disconnected(struct net_device *dev, int reason) static int lapbeth_set_mac_address(struct net_device *dev, void *addr) { struct sockaddr *sa = addr; + memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); return 0; } -- 2.8.1