Skip to contentSkip to conversation

arm64: extable:"(foo*)" should be "(foo *)"

PATCH New [email protected] 1 participant 1 message Jul 14, 2023 1 message not in the archive arm64

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 arm64: extable:"(foo*)" should be "(foo *)"

The variable name of the needle type is preceded by parentheses without a space between the parentheses and the asterisk. This will make the code look unclear, and may conflict with some tools or compilers.

---
 arch/arm64/mm/extable.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/mm/extable.c +1 -1
index 228d681a8715..c89a52870ca9 100644
@@ -42,7 +42,7 @@ ex_handler_load_unaligned_zeropad(const struct exception_table_entry *ex,
     offset = addr & 0x7UL;
     addr &= ~0x7UL;
 
-    data = *(unsigned long*)addr;
+    data = *(unsigned long *)addr;
 
 #ifndef __AARCH64EB__
     data >>= 8 * offset;