vhost_net: Add missing 'static' attribute
PATCH 1/1 vhost_net: Add missing 'static' attribute
This fixes a warning from smatch.
Signed-off-by Stefan Weil <[email protected]>
--- hw/net/vhost_net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/net/vhost_net.c +1 -1
@@ -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 ,
Signature · 1 line
1.7.10.4
Michael Tokarev
AppliedApplied to trivial, thank you!
/mjt