diff --git a/scst/src/scst_lib.c b/scst/src/scst_lib.c index ecde072c5..da49e0c15 100644 --- a/scst/src/scst_lib.c +++ b/scst/src/scst_lib.c @@ -3873,7 +3873,7 @@ found: t->acg_dev->acg->acg_io_grouping_type); } else { res = t; - if (!*(volatile bool*)&res->active_cmd_threads->io_context_ready) { + if (!*(volatile bool *)&res->active_cmd_threads->io_context_ready) { TRACE_DBG("IO context for t %p not yet " "initialized, waiting...", t); msleep(100); diff --git a/scst/src/scst_main.c b/scst/src/scst_main.c index 2be0ab797..d3e99cbac 100644 --- a/scst/src/scst_main.c +++ b/scst/src/scst_main.c @@ -1925,7 +1925,7 @@ out_wait: * Wait for io_context gets initialized to avoid possible races * for it from the sharing it tgt_devs. */ - while (!*(volatile bool*)&cmd_threads->io_context_ready) { + while (!*(volatile bool *)&cmd_threads->io_context_ready) { TRACE_DBG("Waiting for io_context for cmd_threads %p " "initialized", cmd_threads); msleep(50);