diff options
author | Pavel Roskin <proski@gnu.org> | 2005-10-30 15:03:03 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-30 17:37:26 -0800 |
commit | 52303e8b5f8aa234865d40d76ea16b0ff4b27022 (patch) | |
tree | f109cfbc5cad79c691eca76ebcb8e4d078381368 /net/lapb | |
parent | c4dd0e4c6336bd17fea38bcad636eafa2941cf9f (diff) |
[PATCH] modules: fix sparse warning for every MODULE_PARM
sparse complains about every MODULE_PARM used in a module: warning: symbol
'__parm_foo' was not declared. Should it be static?
The fix is to split declaration and initialization. While MODULE_PARM is
obsolete, it's not something sparse should report.
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net/lapb')
0 files changed, 0 insertions, 0 deletions