skge: add paren around sizeof arg
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a4a765031d
commit
9d2ee98daf
@ -3516,7 +3516,7 @@ static const char *skge_board_name(const struct skge_hw *hw)
|
|||||||
if (skge_chips[i].id == hw->chip_id)
|
if (skge_chips[i].id == hw->chip_id)
|
||||||
return skge_chips[i].name;
|
return skge_chips[i].name;
|
||||||
|
|
||||||
snprintf(buf, sizeof buf, "chipid 0x%x", hw->chip_id);
|
snprintf(buf, sizeof(buf), "chipid 0x%x", hw->chip_id);
|
||||||
return buf;
|
return buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user