skge: add paren around sizeof arg
authorstephen hemminger <stephen@networkplumber.org>
Tue, 15 Aug 2017 17:29:18 +0000 (10:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Aug 2017 18:01:57 +0000 (11:01 -0700)
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/skge.c

index 5d7d94de4e00670feeec4f929c87e1cdfdf1a496..8a835e82256a286a26080b36e6c77528ed5b0127 100644 (file)
@@ -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;
 }