Re: [PATCH] Add note that lockdep is not allowed with non-GPL modules

From: Valdis . Kletnieks
Date: Tue Jul 04 2006 - 22:47:31 EST


On Tue, 04 Jul 2006 23:20:53 +0200, Petr Vandrovec said:
> > Lock validor found a bug in NVidia driver, film at 11.

It almost certainly didn't, as you have to do some major ugly and evil
things to get the NVidia driver to build (it won't pass modpost if the
kernel is built with lockdep due to the GPL-only exports that get sucked in).

> I have no idea how NVidia managed to work around that problem, but
> VMware modules suddenly depend on this GPL-only symbol, although nothing
> in the module sources refers to lockdep (same sources which worked
> yesterday are being used).

It doesn't reference it directly - it gets sucked in via a #define.

Attachment: pgp00000.pgp
Description: PGP signature