From: stephen hemminger Date: Tue, 15 Aug 2017 17:29:17 +0000 (-0700) Subject: virtio: put paren around sizeof X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a4a765031d007191c36a25edb9df2fa23c8e6496;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git virtio: put paren around sizeof Kernel coding style is to put paren around operand of sizeof. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller --- diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index a3f3c66b4530..4302f313d9a7 100644 --- a/drivers/net/virtio_net.c +++ b/drivers/net/virtio_net.c @@ -319,7 +319,7 @@ static struct sk_buff *page_to_skb(struct virtnet_info *vi, hdr_len = vi->hdr_len; if (vi->mergeable_rx_bufs) - hdr_padded_len = sizeof *hdr; + hdr_padded_len = sizeof(*hdr); else hdr_padded_len = sizeof(struct padded_vnet_hdr);