From: Jakub Kicinski Date: Fri, 22 Oct 2021 23:21:01 +0000 (-0700) Subject: net: caif: get ready for const netdev->dev_addr X-Git-Tag: block-5.16-2021-11-13~96^2~105^2~2 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=5520fb42a0a1eacbb07352e46b6383399c9065e1;p=linux-block.git net: caif: get ready for const netdev->dev_addr Get it ready for constant netdev->dev_addr. Signed-off-by: Jakub Kicinski Signed-off-by: David S. Miller --- 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);