Spdk/lib/env_dpdk
Daniel Verkamp 59970a89be astyle: enforce braces around single-line statements
Require braces around all conditional statements, e.g.:

    if (cond)
        statement();

becomes:

    if (cond) {
        statement();
    }

This is the style used through most of the SPDK code, but several
exceptions crept in over time.  Add the astyle option to make sure we
are consistent.

Change-Id: I5a71980147fe8dfb471ff42e8bc06db2124a1a7f
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/390914
Reviewed-by: <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2017-12-11 11:19:32 -05:00
..
env_internal.h env/dpdk: compile with rte_pci and rte_bus_pci for DPDK 17.11-rc1 2017-11-15 17:52:05 -05:00
env.c env/dpdk: use rte_virt2iova instead of rte_virt2phys for DPDK 17.11 2017-11-15 17:52:05 -05:00
env.mk env/dpdk: compile with rte_pci and rte_bus_pci for DPDK 17.11-rc1 2017-11-15 17:52:05 -05:00
init.c env/dpdk: unlink hugepage_info and config files immediately for single process apps 2017-10-20 19:43:26 -04:00
Makefile env: add pci_virtio.c 2017-09-26 14:28:24 -04:00
memory.c env: Remove old translation reference counting 2017-09-01 15:25:24 -04:00
pci_ioat.c env: register PMDs on associated first probe 2017-03-06 12:44:34 -07:00
pci_nvme.c env: register PMDs on associated first probe 2017-03-06 12:44:34 -07:00
pci_virtio.c env: add pci_virtio.c 2017-09-26 14:28:24 -04:00
pci.c astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
threads.c env: Add wrappers to launch and wait for threads 2017-06-07 12:34:15 -04:00
vtophys.c astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00