Re: [PATCH] Make `obsolete params' work correctly if MODULE_SYMBOL_PREFIX is non-empty

Linus Torvalds
2003-01-11T05:31:51Z

On Sat, 11 Jan 2003, Rusty Russell wrote:
>
> Just in case someone names a variable over 2000 chars, and uses it as
> an old-style module parameter?

No. Just because variable-sized arrays aren't C, and generate crappy code.

> for (i = 0; i < num; i++) {
> + char sym_name[strlen(obsparm[i].name)
> + + sizeof(MODULE_SYMBOL_PREFIX)];

It's still there.

Linus