Thread (5 messages) 5 messages, 5 authors, 2021-03-23

Re: [PATCH 10/11] pragma once: delete few backslashes

From: Pavel Machek <hidden>
Date: 2021-03-23 10:10:12
Also in: lkml

Hi!
quoted
index e201b4b1655a..46704c341b17 100644
--- a/arch/arc/include/asm/cacheflush.h
+++ b/arch/arc/include/asm/cacheflush.h
@@ -112,6 +112,6 @@ do {									\
 } while (0)
 
 #define copy_from_user_page(vma, page, vaddr, dst, src, len)		\
-	memcpy(dst, src, len);						\
+	memcpy(dst, src, len)
 This changebar also removes a semicolon.
It looks plausibly correct, but the commit message ought to mention it.
Probably should use do{}while(0) trick.
										Pavel
-- 
http://www.livejournal.com/~pavelmachek

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help