Commit f4ee703a authored by Michael S. Tsirkin's avatar Michael S. Tsirkin Committed by David S. Miller

virtio_net: sparse annotation fix

offloads is a buffer in virtio format, should use
the __virtio64 tag.
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Acked-by: default avatarJason Wang <jasowang@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d7fad4c8
...@@ -155,7 +155,7 @@ struct control_buf { ...@@ -155,7 +155,7 @@ struct control_buf {
u8 promisc; u8 promisc;
u8 allmulti; u8 allmulti;
__virtio16 vid; __virtio16 vid;
u64 offloads; __virtio64 offloads;
}; };
struct virtnet_info { struct virtnet_info {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment