OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50bf0b3
)
hw/scsi/megasas: Remove pointless parenthesis
author
Philippe Mathieu-Daudé
<f4bug@amsat.org>
Sun, 11 Oct 2020 19:50:01 +0000
(21:50 +0200)
committer
Laurent Vivier
<laurent@vivier.eu>
Sat, 20 Feb 2021 11:36:19 +0000
(12:36 +0100)
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <
20201011195001
.
3219730
-1-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
hw/scsi/megasas.c
patch
|
blob
|
history
diff --git
a/hw/scsi/megasas.c
b/hw/scsi/megasas.c
index
1a5fc58
..
5bfc92f
100644
(file)
--- a/
hw/scsi/megasas.c
+++ b/
hw/scsi/megasas.c
@@
-2384,8
+2384,8
@@
static void megasas_scsi_realize(PCIDevice *dev, Error **errp)
if (!s->sas_addr) {
s->sas_addr = ((NAA_LOCALLY_ASSIGNED_ID << 24) |
IEEE_COMPANY_LOCALLY_ASSIGNED) << 36;
- s->sas_addr |=
(pci_dev_bus_num(dev) << 16)
;
- s->sas_addr |=
(PCI_SLOT(dev->devfn) << 8)
;
+ s->sas_addr |=
pci_dev_bus_num(dev) << 16
;
+ s->sas_addr |=
PCI_SLOT(dev->devfn) << 8
;
s->sas_addr |= PCI_FUNC(dev->devfn);
}
if (!s->hba_serial) {