]> err.no Git - linux-2.6/blobdiff - kernel/module.c
[PATCH] cpuset: task_lock comment fix
[linux-2.6] / kernel / module.c
index 4fafd58038a03ad6a36ab9265bcbbd1093bdea83..bd088a7c1499e8872a0fea69c7f65f17e987518d 100644 (file)
@@ -127,7 +127,7 @@ extern const unsigned long __start___kcrctab_gpl_future[];
 #ifndef CONFIG_MODVERSIONS
 #define symversion(base, idx) NULL
 #else
-#define symversion(base, idx) ((base) ? ((base) + (idx)) : NULL)
+#define symversion(base, idx) ((base != NULL) ? ((base) + (idx)) : NULL)
 #endif
 
 /* lookup symbol in given range of kernel_symbols */