Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jakub Kicinski and committed by
David S. Miller
5520fb42 39c19fb9

+1 -1
+1 -1
net/caif/caif_usb.c
··· 81 81 layr->up->ctrlcmd(layr->up, ctrl, layr->id); 82 82 } 83 83 84 - static struct cflayer *cfusbl_create(int phyid, u8 ethaddr[ETH_ALEN], 84 + static struct cflayer *cfusbl_create(int phyid, const u8 ethaddr[ETH_ALEN], 85 85 u8 braddr[ETH_ALEN]) 86 86 { 87 87 struct cfusbl *this = kmalloc(sizeof(struct cfusbl), GFP_ATOMIC);