diff --git a/scst/include/scst.h b/scst/include/scst.h index a393956c8..54644507e 100644 --- a/scst/include/scst.h +++ b/scst/include/scst.h @@ -2417,12 +2417,12 @@ struct scst_device { /**************************************************************/ /************************************************************* - ** Dev's control mode page related values. Updates serialized + ** Dev's control mode page related values. Updates serialized ** by device blocking. Since device blocking protects only ** commands on the execution stage, in all other read cases ** use ACCESS_ONCE(), if necessary. Modified independently ** to the above fields, hence the alignment. - *************************************************************/ + *************************************************************/ unsigned int queue_alg:4 __aligned(sizeof(long)); unsigned int tst:3; diff --git a/scst/src/dev_handlers/scst_vdisk.c b/scst/src/dev_handlers/scst_vdisk.c index b34bd445c..c83ded7f7 100644 --- a/scst/src/dev_handlers/scst_vdisk.c +++ b/scst/src/dev_handlers/scst_vdisk.c @@ -3692,11 +3692,11 @@ static int vdisk_caching_pg(unsigned char *p, int pcontrol, break; case 2: /* default */ memcpy(p, caching_pg, sizeof(caching_pg)); - p[2] |= (DEF_WRITE_THROUGH || virt_dev->nv_cache) ? 0: WCE; + p[2] |= (DEF_WRITE_THROUGH || virt_dev->nv_cache) ? 0 : WCE; break; case 3: /* saved */ memcpy(p, caching_pg, sizeof(caching_pg)); - p[2] |= (virt_dev->wt_flag_saved || virt_dev->nv_cache) ? 0: WCE; + p[2] |= (virt_dev->wt_flag_saved || virt_dev->nv_cache) ? 0 : WCE; break; default: sBUG_ON(1);