staging: erofs: formatting spaces around '-'
authorPavel Zemlyanoy <zemlyanoy@ispras.ru>
Thu, 30 Aug 2018 15:13:59 +0000 (18:13 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Sep 2018 08:09:26 +0000 (10:09 +0200)
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 <zemlyanoy@ispras.ru>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Reviewed-by: Gao Xiang <gaoxiang25@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/erofs/unzip_vle_lz4.c

index 54da72a37a3952b7c687b6dc571883ce352b1e9f..bf1f51cdf7dce59260b80efd58312bf431ba4a5d 100644 (file)
@@ -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)) {