diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2018-04-19 08:30:50 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-19 16:33:20 -0400 |
commit | f4ee703ace847f299da00944d57db7ff91786d0b (patch) | |
tree | a2dd2611ad8a57f63f3a4c7cad5d15b6d7e41322 | |
parent | d7fad4c840f33a6bd333dd7fbb3006edbcf0017a (diff) |
virtio_net: sparse annotation fix
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>
-rw-r--r-- | drivers/net/virtio_net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index 16b0c7db431b..770422e953f7 100644 --- 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; - u64 offloads; + __virtio64 offloads; }; struct virtnet_info { |