projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2343dd1
)
vhost_net: Add missing 'static' attribute
author
Stefan Weil
<sw@weilnetz.de>
Sat, 28 Feb 2015 18:19:17 +0000
(19:19 +0100)
committer
Michael Tokarev
<mjt@tls.msk.ru>
Tue, 10 Mar 2015 05:15:34 +0000
(08:15 +0300)
This fixes a warning from smatch.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/net/vhost_net.c
patch
|
blob
|
history
diff --git
a/hw/net/vhost_net.c
b/hw/net/vhost_net.c
index
2ea1ef1
..
cf23335
100644
(file)
--- 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,