]> err.no Git - linux-2.6/commit
module: be more picky about allowing missing module versions
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 9 May 2008 06:24:21 +0000 (16:24 +1000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 9 May 2008 14:45:18 +0000 (07:45 -0700)
commita5dd69707424a35d2d2cc094e870f595ad61e916
treedd9dffe6748358bac9a8699f7d8ad9e205886a67
parent6c2545eefffc452e52302c96c955d9aa26353aa9
module: be more picky about allowing missing module versions

We allow missing __versions sections, because modprobe --force strips
it.  It makes less sense to allow sections where there's no version
for a specific symbol the module uses, so disallow that.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/module.c