From: Pavel Zemlyanoy Date: Thu, 30 Aug 2018 15:13:59 +0000 (+0300) Subject: staging: erofs: formatting spaces around '-' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b566ffc3fab6d0a18397d5b1f4e1bf138e1909c9;p=linux.git staging: erofs: formatting spaces around '-' This patch does not change the logic, it only corrects the formatting and checkpatch checks by adding spaces around '-'. The patch fixes 4 checks of type: "Check: spaces preferred around that '-'". Signed-off-by: Pavel Zemlyanoy Reviewed-by: Chao Yu Reviewed-by: Gao Xiang Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/erofs/unzip_vle_lz4.c b/drivers/staging/erofs/unzip_vle_lz4.c index 54da72a37a395..bf1f51cdf7dce 100644 --- a/drivers/staging/erofs/unzip_vle_lz4.c +++ b/drivers/staging/erofs/unzip_vle_lz4.c @@ -65,13 +65,13 @@ int z_erofs_vle_plain_copy(struct page **compressed_pages, if (i) { if (!src) - src = mirrored[i-1] ? - percpu_data + (i-1) * PAGE_SIZE : - kmap_atomic(compressed_pages[i-1]); + src = mirrored[i - 1] ? + percpu_data + (i - 1) * PAGE_SIZE : + kmap_atomic(compressed_pages[i - 1]); memcpy(dst, src + righthalf, pageofs); - if (!mirrored[i-1]) + if (!mirrored[i - 1]) kunmap_atomic(src); if (unlikely(i >= clusterpages)) {