diff options
author | Peng Li <lipeng321@huawei.com> | 2021-06-09 17:39:48 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-09 14:02:58 -0700 |
commit | 5bc5f5f27b89fd029515a305caaaf40b77c63c76 (patch) | |
tree | 233f78bb03359ae214f3d95626e0ee0c3a213f4a /drivers/net/wan/lapbether.c | |
parent | eff57ab52cc4bcdca095a5a129bc0912a402af11 (diff) |
net: lapbether: add blank line after declarations
This patch fixes the checkpatch error about missing a blank line
after declarations.
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wan/lapbether.c')
-rw-r--r-- | drivers/net/wan/lapbether.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wan/lapbether.c b/drivers/net/wan/lapbether.c index bb529effad1a..b6aef7b53eca 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; } |