Skip to content

Commit ce8bd03

Browse files
sfrothwellkuba-moo
authored andcommitted
ethernet: sun: add missing semicolon, fix build
Fix for this build problem: drivers/net/ethernet/sun/ldmvsw.c: In function 'vsw_alloc_netdev': drivers/net/ethernet/sun/ldmvsw.c:243:2: error: expected ';' before 'sprintf' sprintf(dev->name, "vif%d.%d", (int)handle, (int)port_id); ^~~~~~~ Fixes: a763927 ("ethernet: sun: remove direct netdev->dev_addr writes") Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Link: https://lore.kernel.org/r/20211011173424.7743035d@canb.auug.org.au Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 0182d07 commit ce8bd03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/sun/ldmvsw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ static struct net_device *vsw_alloc_netdev(u8 hwaddr[],
238238
dev->needed_tailroom = 8;
239239

240240
eth_hw_addr_set(dev, hwaddr);
241-
ether_addr_copy(dev->perm_addr, dev->dev_addr)
241+
ether_addr_copy(dev->perm_addr, dev->dev_addr);
242242

243243
sprintf(dev->name, "vif%d.%d", (int)handle, (int)port_id);
244244

0 commit comments

Comments
 (0)