scst: Fix recently introduced checkpatch complaints about whitespace

Fix two instances of the following checkpatch errors:

ERROR: code indent should use tabs where possible
ERROR: spaces required around that ':' (ctx:VxW)


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5483 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2014-04-26 06:32:32 +00:00
parent 72a57986e5
commit 3baf34908f
2 changed files with 4 additions and 4 deletions

View File

@@ -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;

View File

@@ -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);