Commit 9d2ee98d authored by stephen hemminger's avatar stephen hemminger Committed by David S. Miller

skge: add paren around sizeof arg

Signed-off-by: default avatarStephen Hemminger <stephen@networkplumber.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a4a76503
...@@ -3516,7 +3516,7 @@ static const char *skge_board_name(const struct skge_hw *hw) ...@@ -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;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment