diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/module.c b/kernel/module.c index 4fafd58038a0..bd088a7c1499 100644 --- a/kernel/module.c +++ b/kernel/module.c | |||
@@ -127,7 +127,7 @@ extern const unsigned long __start___kcrctab_gpl_future[]; | |||
127 | #ifndef CONFIG_MODVERSIONS | 127 | #ifndef CONFIG_MODVERSIONS |
128 | #define symversion(base, idx) NULL | 128 | #define symversion(base, idx) NULL |
129 | #else | 129 | #else |
130 | #define symversion(base, idx) ((base) ? ((base) + (idx)) : NULL) | 130 | #define symversion(base, idx) ((base != NULL) ? ((base) + (idx)) : NULL) |
131 | #endif | 131 | #endif |
132 | 132 | ||
133 | /* lookup symbol in given range of kernel_symbols */ | 133 | /* lookup symbol in given range of kernel_symbols */ |