mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-20 12:11:26 +00:00
Made sure that checkpatch doesn't complain about missing whitespace around
the minus character in the following expression:
tgt_dev->curr_sn = (typeof(tgt_dev->curr_sn)) -300
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1407 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1567,7 +1567,7 @@ static struct scst_tgt_dev *scst_alloc_add_tgt_dev(struct scst_session *sess,
|
||||
spin_lock_init(&tgt_dev->sn_lock);
|
||||
INIT_LIST_HEAD(&tgt_dev->deferred_cmd_list);
|
||||
INIT_LIST_HEAD(&tgt_dev->skipped_sn_list);
|
||||
tgt_dev->curr_sn = (typeof(tgt_dev->curr_sn)) -300;
|
||||
tgt_dev->curr_sn = (typeof(tgt_dev->curr_sn))(-300);
|
||||
tgt_dev->expected_sn = tgt_dev->curr_sn + 1;
|
||||
tgt_dev->num_free_sn_slots = ARRAY_SIZE(tgt_dev->sn_slots)-1;
|
||||
tgt_dev->cur_sn_slot = &tgt_dev->sn_slots[0];
|
||||
|
||||
Reference in New Issue
Block a user