projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7fad4c
)
virtio_net: sparse annotation fix
author
Michael S. Tsirkin
<mst@redhat.com>
Thu, 19 Apr 2018 05:30:50 +0000
(08:30 +0300)
committer
David S. Miller
<davem@davemloft.net>
Thu, 19 Apr 2018 20:33:20 +0000
(16:33 -0400)
offloads is a buffer in virtio format, should use
the __virtio64 tag.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/virtio_net.c
patch
|
blob
|
history
diff --git
a/drivers/net/virtio_net.c
b/drivers/net/virtio_net.c
index 16b0c7db431bb09f5a24d540391d3bb16c9f2c9f..770422e953f75e1e9a1bb3a317d83f8070e6ae36 100644
(file)
--- a/
drivers/net/virtio_net.c
+++ b/
drivers/net/virtio_net.c
@@
-155,7
+155,7
@@
struct control_buf {
u8 promisc;
u8 allmulti;
__virtio16 vid;
-
u
64 offloads;
+
__virtio
64 offloads;
};
struct virtnet_info {