* [Qemu-devel] [PATCH] vhost_net: Add missing 'static' attribute
@ 2015-02-28 18:19 Stefan Weil
2015-03-02 12:19 ` Michael Tokarev
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Weil @ 2015-02-28 18:19 UTC (permalink / raw)
To: QEMU Trivial; +Cc: Stefan Weil, QEMU Developer
This fixes a warning from smatch.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
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 4e3a061..ebfb6db 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,
--
1.7.10.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] vhost_net: Add missing 'static' attribute
2015-02-28 18:19 [Qemu-devel] [PATCH] vhost_net: Add missing 'static' attribute Stefan Weil
@ 2015-03-02 12:19 ` Michael Tokarev
0 siblings, 0 replies; 2+ messages in thread
From: Michael Tokarev @ 2015-03-02 12:19 UTC (permalink / raw)
To: Stefan Weil, QEMU Trivial; +Cc: QEMU Developer
Applied to trivial, thank you!
/mjt
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-02 12:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-28 18:19 [Qemu-devel] [PATCH] vhost_net: Add missing 'static' attribute Stefan Weil
2015-03-02 12:19 ` Michael Tokarev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).