From d122f1a254abb91e42b4f2b2e1f8ee8980785e68 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Sat, 28 Feb 2015 19:19:17 +0100 Subject: [PATCH] vhost_net: Add missing 'static' attribute This fixes a warning from smatch. Signed-off-by: Stefan Weil Signed-off-by: Michael Tokarev --- hw/net/vhost_net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.11.4.GIT