aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/lapbether.c
diff options
context:
space:
mode:
authorPeng Li <[email protected]>2021-06-09 09:39:48 +0000
committerDavid S. Miller <[email protected]>2021-06-09 21:02:58 +0000
commit5bc5f5f27b89fd029515a305caaaf40b77c63c76 (patch)
tree233f78bb03359ae214f3d95626e0ee0c3a213f4a /drivers/net/wan/lapbether.c
parentnet: lapbether: remove redundant blank line (diff)
downloadkernel-5bc5f5f27b89fd029515a305caaaf40b77c63c76.tar.gz
kernel-5bc5f5f27b89fd029515a305caaaf40b77c63c76.zip
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/wan/lapbether.c')
-rw-r--r--drivers/net/wan/lapbether.c1
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;
}