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 | 60 | #endif |
| 61 | 61 | |
| 62 | 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 | 64 | #else |
| 65 | 65 | #define _EXPORT_SYMBOL(sym, license) __EXPORT_SYMBOL(sym, license, "") |
| 66 | 66 | #endif |