qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] virtio-pci: add missing 'static'


From: Stefan Weil
Subject: Re: [Qemu-devel] [PATCH] virtio-pci: add missing 'static'
Date: Sat, 12 May 2012 23:04:35 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20120506 Iceowl/1.0b1 Icedove/3.0.11

Am 12.05.2012 21:47, schrieb Blue Swirl:
There are no outside references to virtio_portio.
Add missing 'static' specifier.

Signed-off-by: Blue Swirl <address@hidden>
---
hw/virtio-pci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c
index 4a4413d..8a931ce 100644
--- a/hw/virtio-pci.c
+++ b/hw/virtio-pci.c
@@ -491,7 +491,7 @@ static void virtio_pci_config_writel(void *opaque,
uint32_t addr, uint32_t val)

line was wrapped

virtio_config_writel(proxy->vdev, addr, val);
}

-const MemoryRegionPortio virtio_portio[] = {
+static const MemoryRegionPortio virtio_portio[] = {
{ 0, 0x10000, 1, .write = virtio_pci_config_writeb, },
{ 0, 0x10000, 2, .write = virtio_pci_config_writew, },
{ 0, 0x10000, 4, .write = virtio_pci_config_writel, },

terminating "---" and git version missing


Reviewed-by: Stefan Weil <address@hidden>

The patch is fine, but your mailer reformats the patch:
it cannot by applied with "git am" without manual corrections.

Regards,
Stefan W.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]