mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-25 07:51:28 +00:00
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:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user