numam-spdk/examples/nvme
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
..
arbitration astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
fio_plugin fio_plugin: check the whether the qpair can be allocated. 2017-11-15 18:00:07 -05:00
hello_world nvme: add I/O qpair creation options 2017-07-18 18:33:20 -04:00
hotplug examples/nvme/hotplug: free task on error path 2017-10-17 15:21:39 -04:00
identify astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
nvme_manage astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
perf astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
reserve astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
Makefile example: Add example for nvme hotplug. 2016-12-01 10:23:10 +08:00