[PATCH] ndiswrapper: don't set the module->taints flags

For ndiswrapper, don't set the module->taints flags, just set the kernel
global tainted flag. This should allow ndiswrapper to continue to use GPL
symbols.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Florin Malita <fmalita@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Randy Dunlap and committed by Linus Torvalds 0e2d57fc a5a89bae

+1 -1
+1 -1
kernel/module.c
··· 1718 set_license(mod, get_modinfo(sechdrs, infoindex, "license")); 1719 1720 if (strcmp(mod->name, "ndiswrapper") == 0) 1721 - add_taint_module(mod, TAINT_PROPRIETARY_MODULE); 1722 if (strcmp(mod->name, "driverloader") == 0) 1723 add_taint_module(mod, TAINT_PROPRIETARY_MODULE); 1724
··· 1718 set_license(mod, get_modinfo(sechdrs, infoindex, "license")); 1719 1720 if (strcmp(mod->name, "ndiswrapper") == 0) 1721 + add_taint(TAINT_PROPRIETARY_MODULE); 1722 if (strcmp(mod->name, "driverloader") == 0) 1723 add_taint_module(mod, TAINT_PROPRIETARY_MODULE); 1724