# \[PATCH v5 08/15\] Compiler Attributes: KENTRY used twice the "used" attribute

- From: Miguel Ojeda \<hidden\>
- Date: 2018-09-20 17:23:46 
- List: linux-ext4
- Page: https://ratatoskr.run/linux-ext4/2018/09/5386445
- Thread: https://ratatoskr.run/linux-doc/2018/09/5386438/t.md

```text
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Luc Van Oostenryck <redacted>
Signed-off-by: Miguel Ojeda <redacted>
---
 include/linux/compiler.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/compiler.h b/include/linux/compiler.h
index 4030a2940d6b..17ee9165ca51 100644
--- a/include/linux/compiler.h
+++ b/include/linux/compiler.h
@@ -146,7 +146,7 @@ void ftrace_likely_update(struct ftrace_likely_data *f, int val,
 	extern typeof(sym) sym;					\
 	static const unsigned long __kentry_##sym		\
 	__used							\
-	__attribute__((__section__("___kentry" "+" #sym ), used))	\
+	__attribute__((__section__("___kentry" "+" #sym )))	\
 	= (unsigned long)&sym;
 #endif
 
-- 
2.17.1
```
