diff --git a/scst/include/scst.h b/scst/include/scst.h index 406d903ba..260b32b9b 100644 --- a/scst/include/scst.h +++ b/scst/include/scst.h @@ -61,7 +61,7 @@ typedef _Bool bool; #if (LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 18)) #define COMPLETION_INITIALIZER_ONSTACK(work) \ ({ init_completion(&work); work; }) - + /* * Lockdep needs to run a non-constant initializer for on-stack * completions - so we use the _ONSTACK() variant for those that diff --git a/scst_local/scst_local.c b/scst_local/scst_local.c index 62ff7d352..5c1f6153a 100644 --- a/scst_local/scst_local.c +++ b/scst_local/scst_local.c @@ -540,21 +540,20 @@ static int scst_local_queuecommand(struct scsi_cmnd *SCpnt, sgl_count = scsi_sg_count(SCpnt); } else { /* - * Build a one-element scatter list out of the buffer - * We will not even get here if the kernel version we - * are building on only supports scatterlists. See #if above. - * - * We use the sglist and bufflen function/macros to isolate - * us from kernel version differences. - */ + * Build a one-element scatter list out of the buffer + * We will not even get here if the kernel version we + * are building on only supports scatterlists. See #if above. + * + * We use the sglist and bufflen function/macros to isolate + * us from kernel version differences. + */ if (scsi_sglist(SCpnt)) { sg_init_one(&(tgt_specific->sgl), (const void *)scsi_sglist(SCpnt), scsi_bufflen(SCpnt)); sgl = &(tgt_specific->sgl); sgl_count = 1; - } - else { + } else { sgl = NULL; sgl_count = 0; }