diff options
author | deraadt <deraadt@openbsd.org> | 2017-03-27 00:28:04 +0000 |
---|---|---|
committer | deraadt <deraadt@openbsd.org> | 2017-03-27 00:28:04 +0000 |
commit | f9eeb76b8f9a5d12163f26a04d6f328681b924e0 (patch) | |
tree | 6a2729d4057ad37e1b7c0164e215d20c024cc657 /usr.sbin/vmd/pci.c | |
parent | KNF (diff) | |
download | wireguard-openbsd-f9eeb76b8f9a5d12163f26a04d6f328681b924e0.tar.xz wireguard-openbsd-f9eeb76b8f9a5d12163f26a04d6f328681b924e0.zip |
die whitespace die die die
Diffstat (limited to 'usr.sbin/vmd/pci.c')
-rw-r--r-- | usr.sbin/vmd/pci.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/usr.sbin/vmd/pci.c b/usr.sbin/vmd/pci.c index 5bc1c5eedfd..e6899273304 100644 --- a/usr.sbin/vmd/pci.c +++ b/usr.sbin/vmd/pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pci.c,v 1.15 2017/03/25 22:36:53 mlarkin Exp $ */ +/* $OpenBSD: pci.c,v 1.16 2017/03/27 00:28:04 deraadt Exp $ */ /* * Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org> @@ -86,8 +86,8 @@ pci_add_bar(uint8_t id, uint32_t type, void *barfn, void *cookie) return (1); pci.pci_devices[id].pd_cfg_space[bar_reg_idx] = - PCI_MAPREG_IO_ADDR(pci.pci_next_io_bar) | - PCI_MAPREG_TYPE_IO; + PCI_MAPREG_IO_ADDR(pci.pci_next_io_bar) | + PCI_MAPREG_TYPE_IO; pci.pci_next_io_bar += VMM_PCI_IO_BAR_SIZE; pci.pci_devices[id].pd_barfunc[bar_ct] = barfn; pci.pci_devices[id].pd_bar_cookie[bar_ct] = cookie; @@ -350,8 +350,7 @@ pci_handle_data_reg(struct vm_run_params *vrp) /* IOBAR registers must have bit 0 set */ if (o == 0x10) - pci.pci_devices[d].pd_cfg_space[o / 4] |= 1; - + pci.pci_devices[d].pd_cfg_space[o / 4] |= 1; } else { /* * vei_dir == VEI_DIR_IN : in instruction |