OSDN Git Service

staging: erofs: formatting add spaces arround '*'
authorPavel Zemlyanoy <zemlyanoy@ispras.ru>
Thu, 30 Aug 2018 15:14:00 +0000 (18:14 +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 check by
adding spaces around '*'.

The patch fixes 1 check 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 bf1f51c..7389500 100644 (file)
@@ -181,7 +181,7 @@ int z_erofs_vle_unzip_vmap(struct page **compressed_pages,
                for (i = 0; i < clusterpages; ++i) {
                        void *t = kmap_atomic(compressed_pages[i]);
 
-                       memcpy(vin + PAGE_SIZE *i, t, PAGE_SIZE);
+                       memcpy(vin + PAGE_SIZE * i, t, PAGE_SIZE);
                        kunmap_atomic(t);
                }
        } else if (clusterpages == 1)