diff options
author | Pavel Zemlyanoy <zemlyanoy@ispras.ru> | 2018-08-30 18:13:59 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-10 10:09:26 +0200 |
commit | b566ffc3fab6d0a18397d5b1f4e1bf138e1909c9 (patch) | |
tree | a93c4ce1f84279801a5d6d42156b575eedb8437c /drivers/staging/erofs | |
parent | 196ef5f36071456c47816bfe0a02ce06fd50258b (diff) |
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 <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>
Diffstat (limited to 'drivers/staging/erofs')
-rw-r--r-- | drivers/staging/erofs/unzip_vle_lz4.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/erofs/unzip_vle_lz4.c b/drivers/staging/erofs/unzip_vle_lz4.c index 54da72a37a39..bf1f51cdf7dc 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)) { |