All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: erofs: adds a space around '*'
@ 2018-10-08 11:45 ` Daeseok Youn
  0 siblings, 0 replies; 6+ messages in thread
From: Daeseok Youn @ 2018-10-08 11:45 UTC (permalink / raw)
  To: Gao Xiang, Chao Yu, Greg Kroah-Hartman, linux-erofs, devel, linux-kernel

fix checkpatch.pl error:
ERROR: need consistent spacing around '*' (ctx:WxV)
+                       memcpy(vin + PAGE_SIZE *i, t, PAGE_SIZE);

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
---
 drivers/staging/erofs/unzip_vle_lz4.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/erofs/unzip_vle_lz4.c b/drivers/staging/erofs/unzip_vle_lz4.c
index f5b665f..501cfe0 100644
--- a/drivers/staging/erofs/unzip_vle_lz4.c
+++ b/drivers/staging/erofs/unzip_vle_lz4.c
@@ -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)
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-10-09  7:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-08 11:45 [PATCH] staging: erofs: adds a space around '*' Daeseok Youn
2018-10-08 11:45 ` Daeseok Youn
2018-10-08 12:36 ` Gustavo A. R. Silva
2018-10-08 12:36   ` Gustavo A. R. Silva
2018-10-09  7:31   ` DaeSeok Youn
2018-10-09  7:31     ` DaeSeok Youn

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.