From: stephen hemminger Date: Tue, 15 Aug 2017 17:29:18 +0000 (-0700) Subject: skge: add paren around sizeof arg X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9d2ee98dafd439a768f4cef3757bcce328b86386;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git skge: add paren around sizeof arg Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/marvell/skge.c b/drivers/net/ethernet/marvell/skge.c index 5d7d94de4e00..8a835e82256a 100644 --- a/drivers/net/ethernet/marvell/skge.c +++ b/drivers/net/ethernet/marvell/skge.c @@ -3516,7 +3516,7 @@ static const char *skge_board_name(const struct skge_hw *hw) if (skge_chips[i].id == hw->chip_id) 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; }