Commit cdd30ebb1b9f ("module: Convert symbol namespace to string literal") only converted MODULE_IMPORT_NS() and EXPORT_SYMBOL_NS(), leaving DEFAULT_SYMBOL_NAMESPACE as a macro expansion. This commit converts DEFAULT_SYMBOL_NAMESPACE in the same way to avoid annoyance for the default namespace as well.
Showing the changes to include/linux (1 of 18 files). Show all
Unified · Split
| @@ -60,7 +60,7 @@ · 59 unmodified lines | |||
| 60 | #endif | 60 | #endif |
| 61 | 61 | ||
| 62 | #ifdef DEFAULT_SYMBOL_NAMESPACE | 62 | #ifdef DEFAULT_SYMBOL_NAMESPACE |
| 63 | #define _EXPORT_SYMBOL(sym, license) __EXPORT_SYMBOL(sym, license, __stringify(DEFAULT_SYMBOL_NAMESPACE)) | 63 | #define _EXPORT_SYMBOL(sym, license) __EXPORT_SYMBOL(sym, license, DEFAULT_SYMBOL_NAMESPACE) |
| 64 | #else | 64 | #else |
| 65 | #define _EXPORT_SYMBOL(sym, license) __EXPORT_SYMBOL(sym, license, "") | 65 | #define _EXPORT_SYMBOL(sym, license) __EXPORT_SYMBOL(sym, license, "") |
| 66 | #endif | 66 | #endif |