]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/module.c
[PATCH] ndiswrapper: don't set the module->taints flags
[linux-2.6-omap-h63xx.git] / kernel / module.c
index 67009bd56c522b634d35a9b8c2852228b4b29730..f0166563c602f12aba2867b60965959bfb57f6a7 100644 (file)
@@ -1342,7 +1342,7 @@ static void set_license(struct module *mod, const char *license)
 
        if (!license_is_gpl_compatible(license)) {
                if (!(tainted & TAINT_PROPRIETARY_MODULE))
-                       printk(KERN_WARNING "%s: module license '%s' taints"
+                       printk(KERN_WARNING "%s: module license '%s' taints "
                                "kernel.\n", mod->name, license);
                add_taint_module(mod, TAINT_PROPRIETARY_MODULE);
        }
@@ -1718,7 +1718,7 @@ static struct module *load_module(void __user *umod,
        set_license(mod, get_modinfo(sechdrs, infoindex, "license"));
 
        if (strcmp(mod->name, "ndiswrapper") == 0)
-               add_taint_module(mod, TAINT_PROPRIETARY_MODULE);
+               add_taint(TAINT_PROPRIETARY_MODULE);
        if (strcmp(mod->name, "driverloader") == 0)
                add_taint_module(mod, TAINT_PROPRIETARY_MODULE);