Skip to contentSkip to conversation

module: Remove leftover '#undef' from export header

PATCH Applied Will Deacon 2 participants 2 messages Sep 11, 2019 – Sep 12, 2019 Generic include/asm header files

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 module: Remove leftover '#undef' from export header

Commit 7290d5809571 ("module: use relative references for __ksymtab entries") converted the '__put' #define into an assembly macro in asm-generic/export.h but forgot to remove the corresponding '#undef'.

Remove the leftover '#undef'.

Cc Ard Biesheuvel <[email protected]>
Cc Jessica Yu <[email protected]>

---

I spotted this trivial issue when debugging the namespace issue earlier today, so here's the patch.

 include/asm-generic/export.h | 1 -
 1 file changed, 1 deletion(-)
include/asm-generic/export.h +0 -1
index 294d6ae785d4..153d9c2ee580 100644
@@ -57,7 +57,6 @@ __kcrctab_\name:
 #endif
 #endif
 .endm
-#undef __put
 
 #if defined(CONFIG_TRIM_UNUSED_KSYMS)
 
Signature · 1 line
2.23.0.237.gc6a4ce50a0-goog
Applied
#1 lore raw

+++ Will Deacon [12/09/19 00:00 +0100]:

Quoted 6 lines

Commit 7290d5809571 ("module: use relative references for __ksymtab entries") converted the '__put' #define into an assembly macro in asm-generic/export.h but forgot to remove the corresponding '#undef'.

Remove the leftover '#undef'.

Quoted 7 lines
Cc Ard Biesheuvel <[email protected]>
Cc Jessica Yu <[email protected]>

---

I spotted this trivial issue when debugging the namespace issue earlier today, so here's the patch.

Applied, thanks for the cleanup!

Jessica