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>
        int n = tap->numqueues;
        int ret, i = 0;
 
-       arrays = kmalloc(sizeof *arrays * n, GFP_KERNEL);
+       arrays = kmalloc_array(n, sizeof(*arrays), GFP_KERNEL);
        if (!arrays)
                return -ENOMEM;
 
 
        int n = tun->numqueues + tun->numdisabled;
        int ret, i;
 
-       arrays = kmalloc(sizeof *arrays * n, GFP_KERNEL);
+       arrays = kmalloc_array(n, sizeof(*arrays), GFP_KERNEL);
        if (!arrays)
                return -ENOMEM;