From 819ada124e2cd91a28c39aced85f422553817b76 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Fri, 6 Nov 2015 19:46:08 +0000 Subject: [PATCH] scst: Use tabs instead of spaces for indentation git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6613 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/include/scst_event.h | 2 +- scst/src/scst_tg.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scst/include/scst_event.h b/scst/include/scst_event.h index c13f2b47f..9d7750e8b 100644 --- a/scst/include/scst_event.h +++ b/scst/include/scst_event.h @@ -137,7 +137,7 @@ struct scst_event_tm_fn_received_payload { #define SCST_EVENT_STPG_USER_INVOKE 5 struct scst_event_stpg_descr { - uint16_t group_id; + uint16_t group_id; /* * Better to keep below fields as small as possible to fit * in single page as many descriptors as possible. diff --git a/scst/src/scst_tg.c b/scst/src/scst_tg.c index 300900b6a..86e61883f 100644 --- a/scst/src/scst_tg.c +++ b/scst/src/scst_tg.c @@ -967,9 +967,9 @@ static void __scst_tg_set_state(struct scst_target_group *tg, list_for_each_entry(tg_tgt, &tg->tgt_list, entry) { if (tg_tgt->tgt == tgt) { bool gen_ua = (state != SCST_TG_STATE_TRANSITIONING); - if ((tg->dg->stpg_rel_tgt_id == tgt_dev->sess->tgt->rel_tgt_id) && - tid_equal(tg->dg->stpg_transport_id, tgt_dev->sess->transport_id)) - gen_ua = false; + if ((tg->dg->stpg_rel_tgt_id == tgt_dev->sess->tgt->rel_tgt_id) && + tid_equal(tg->dg->stpg_transport_id, tgt_dev->sess->transport_id)) + gen_ua = false; scst_tg_change_tgt_dev_state(tgt_dev, state, gen_ua); break;