summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2021-10-23 01:21:01 +0200
committerDavid S. Miller <davem@davemloft.net>2021-10-24 14:59:45 +0200
commit5520fb42a0a1eacbb07352e46b6383399c9065e1 (patch)
treef145cebc195f983e157365d608258941d56a03ca
parentnet: hsr: get ready for const netdev->dev_addr (diff)
downloadlinux-5520fb42a0a1eacbb07352e46b6383399c9065e1.tar.xz
linux-5520fb42a0a1eacbb07352e46b6383399c9065e1.zip
net: caif: get ready for const netdev->dev_addr
Get it ready for constant netdev->dev_addr. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/caif/caif_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/caif/caif_usb.c b/net/caif/caif_usb.c
index b02e1292f7f1..4be6b04879a1 100644
--- a/net/caif/caif_usb.c
+++ b/net/caif/caif_usb.c
@@ -81,7 +81,7 @@ static void cfusbl_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl,
layr->up->ctrlcmd(layr->up, ctrl, layr->id);
}
-static struct cflayer *cfusbl_create(int phyid, u8 ethaddr[ETH_ALEN],
+static struct cflayer *cfusbl_create(int phyid, const u8 ethaddr[ETH_ALEN],
u8 braddr[ETH_ALEN])
{
struct cfusbl *this = kmalloc(sizeof(struct cfusbl), GFP_ATOMIC);