From aa523484816b59bc308f16cc11b2d065457b4d0d Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 16 Feb 2015 13:21:34 +0000 Subject: [PATCH] ib_srpt: Fix a checkpatch complaint git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6100 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/src/ib_srpt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srpt/src/ib_srpt.c b/srpt/src/ib_srpt.c index ef8f11f9c..bcf0acc9e 100644 --- a/srpt/src/ib_srpt.c +++ b/srpt/src/ib_srpt.c @@ -1635,9 +1635,9 @@ static int srpt_build_cmd_rsp(struct srpt_rdma_ch *ch, } } - if (!scst_sense_valid(sense_data)) + if (!scst_sense_valid(sense_data)) { sense_data_len = 0; - else { + } else { BUILD_BUG_ON(MIN_MAX_RSP_SIZE <= sizeof(*srp_rsp)); max_sense_len = ch->max_ti_iu_len - sizeof(*srp_rsp); if (sense_data_len > max_sense_len) {