numam-spdk/lib/scsi
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
..
dev.c astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
lun_db.c scsi: remove delete_lun RPC call and move claimed flag 2017-03-13 11:27:22 -07:00
lun.c scsi: use lun instead of its name as spdk_scsi_lun_delete param 2017-12-08 09:26:47 -05:00
Makefile bdev: add API to translate to SCSI status 2017-05-04 09:11:42 -07:00
port.c scsi: remove port from scsi_dev dynamically 2017-10-12 15:46:14 -04:00
scsi_bdev.c astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
scsi_internal.h scsi: use lun instead of its name as spdk_scsi_lun_delete param 2017-12-08 09:26:47 -05:00
scsi_rpc.c scsi: Remove the claimed flag from LUN 2017-12-07 12:30:19 -05:00
scsi.c log: rename SPDK_TRACE_* to SPDK_LOG_* 2017-12-07 12:23:19 -05:00
task.c astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00