mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
virtio: put paren around sizeof
Kernel coding style is to put paren around operand of sizeof. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
120390468b
commit
a4a765031d
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue