OSDN Git Service

tun/tap: use paren's with sizeof
authorstephen hemminger <stephen@networkplumber.org>
Tue, 15 Aug 2017 17:29:16 +0000 (10:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Aug 2017 18:01:57 +0000 (11:01 -0700)
commit120390468b38f04373e67dbc9f361e2bb2996691
tree8c2a93f16fcfece5eab681d00b71b383a8c13c87
parent6b0355f4a9a5cb1346f2c1e30bfee49f2b2c8631
tun/tap: use paren's with sizeof

Although sizeof is an operator in C. The kernel coding style convention
is to always use it like a function and add parenthesis.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tap.c
drivers/net/tun.c