diff options
author | Jakub Kicinski <kuba@kernel.org> | 2021-10-23 01:21:01 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-24 14:59:45 +0200 |
commit | 5520fb42a0a1eacbb07352e46b6383399c9065e1 (patch) | |
tree | f145cebc195f983e157365d608258941d56a03ca | |
parent | net: hsr: get ready for const netdev->dev_addr (diff) | |
download | linux-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.c | 2 |
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); |