From: Dave Stevenson Date: Fri, 1 Sep 2017 16:24:48 +0000 (+0100) Subject: vcsm: Fix spaces around operators. X-Git-Tag: archive/raspbian/4.9.51-1+rpi1~6^2~99 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b0344989a7d67201ca0ffb69f7d8c9187bbae957;p=linux-4.9.git vcsm: Fix spaces around operators. Signed-off-by: Dave Stevenson --- diff --git a/drivers/char/broadcom/vc_sm/vmcs_sm.c b/drivers/char/broadcom/vc_sm/vmcs_sm.c index ac49776a74b7..863675727bb7 100644 --- a/drivers/char/broadcom/vc_sm/vmcs_sm.c +++ b/drivers/char/broadcom/vc_sm/vmcs_sm.c @@ -2938,7 +2938,7 @@ static long vc_sm_ioctl(struct file *file, unsigned int cmd, unsigned long arg) ret = -EFAULT; goto out; } - for (i=0; ires_cached) { - unsigned long base = ioparam.s[i].addr & ~(PAGE_SIZE-1); - unsigned long end = (ioparam.s[i].addr + ioparam.s[i].size + PAGE_SIZE-1) & ~(PAGE_SIZE-1); + unsigned long base = ioparam.s[i].addr & ~(PAGE_SIZE - 1); + unsigned long end = (ioparam.s[i].addr + ioparam.s[i].size + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1); - resource->res_stats[ioparam.s[i].cmd == 1 ? INVALID:FLUSH]++; + resource->res_stats[ioparam.s[i].cmd == 1 ? INVALID : FLUSH]++; /* L1/L2 cache flush */ down_read(¤t->mm->mmap_sem); @@ -3001,7 +3001,7 @@ static long vc_sm_ioctl(struct file *file, unsigned int cmd, unsigned long arg) goto out; } - for (i=0; iblock_count; ++j) {