Skip to content

Commit 9d2ee98

Browse files
shemmingerdavem330
authored andcommitted
skge: add paren around sizeof arg
Signed-off-by: Stephen Hemminger <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent a4a7650 commit 9d2ee98

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/ethernet/marvell

1 file changed

+1
-1
lines changed

drivers/net/ethernet/marvell/skge.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3516,7 +3516,7 @@ static const char *skge_board_name(const struct skge_hw *hw)
35163516
if (skge_chips[i].id == hw->chip_id)
35173517
return skge_chips[i].name;
35183518

3519-
snprintf(buf, sizeof buf, "chipid 0x%x", hw->chip_id);
3519+
snprintf(buf, sizeof(buf), "chipid 0x%x", hw->chip_id);
35203520
return buf;
35213521
}
35223522

0 commit comments

Comments
 (0)