numam-spdk/lib/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
..
Makefile nvme: Monitor uevent for device insert and remove 2016-11-30 14:27:43 -07:00
nvme_ctrlr_cmd.c astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
nvme_ctrlr.c astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
nvme_internal.h nvme: add doorbell buffer config support 2017-12-06 17:25:54 -05:00
nvme_ns_cmd.c astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
nvme_ns.c log: rename SPDK_TRACE_* to SPDK_LOG_* 2017-12-07 12:23:19 -05:00
nvme_pcie.c astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
nvme_qpair.c astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
nvme_quirks.c nvme: update the nvme devices quirks. 2017-09-01 12:35:57 -04:00
nvme_rdma.c nvme_rdma: Add rdma_cm_event_str 2017-12-08 14:07:00 -05:00
nvme_transport.c nvme: add new spdk_nvme_connect() API to directly attach the ctrlr 2017-10-09 12:31:12 -04:00
nvme_uevent.c astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
nvme_uevent.h nvme: Add support of hotplug for vfio-attached devices. 2017-12-06 17:04:49 -05:00
nvme.c log: rename SPDK_TRACE_* to SPDK_LOG_* 2017-12-07 12:23:19 -05:00