diff options
author | Stefan Weil <sw@weilnetz.de> | 2015-02-28 19:19:17 +0100 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2015-03-10 08:15:34 +0300 |
commit | d122f1a254abb91e42b4f2b2e1f8ee8980785e68 (patch) | |
tree | 94cd702a5b4444ca3db5e5ecac0e519ab90b3b67 /hw/net | |
parent | 2343dd11a673597aa59813fd0cac2ae42e2e0312 (diff) |
vhost_net: Add missing 'static' attribute
This fixes a warning from smatch.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/net')
-rw-r--r-- | hw/net/vhost_net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/vhost_net.c b/hw/net/vhost_net.c index 2ea1ef1dd0..cf23335ba2 100644 --- a/hw/net/vhost_net.c +++ b/hw/net/vhost_net.c @@ -56,7 +56,7 @@ static const int kernel_feature_bits[] = { }; /* Features supported by others. */ -const int user_feature_bits[] = { +static const int user_feature_bits[] = { VIRTIO_F_NOTIFY_ON_EMPTY, VIRTIO_RING_F_INDIRECT_DESC, VIRTIO_RING_F_EVENT_IDX, |