projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55783a5
)
esp: fix coding standards
author
Paolo Bonzini
<pbonzini@redhat.com>
Mon, 10 Nov 2014 12:58:14 +0000
(13:58 +0100)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Mon, 10 Nov 2014 12:58:14 +0000
(13:58 +0100)
Reported-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi/esp-pci.c
patch
|
blob
|
history
diff --git
a/hw/scsi/esp-pci.c
b/hw/scsi/esp-pci.c
index 77b8647fca79a13dcb28394f264417bf345acb51..00b729735436f12647e9b5db146d24c78be5eae3 100644
(file)
--- a/
hw/scsi/esp-pci.c
+++ b/
hw/scsi/esp-pci.c
@@
-268,8
+268,9
@@
static void esp_pci_dma_memory_rw(PCIESPState *pci, uint8_t *buf, int len,
/* update status registers */
pci->dma_regs[DMA_WBC] -= len;
pci->dma_regs[DMA_WAC] += len;
- if (pci->dma_regs[DMA_WBC] == 0)
+ if (pci->dma_regs[DMA_WBC] == 0)
{
pci->dma_regs[DMA_STAT] |= DMA_STAT_DONE;
+ }
}
static void esp_pci_dma_memory_read(void *opaque, uint8_t *buf, int len)