Skip to content
Commit 730b69d2 authored by Rusty Russell's avatar Rusty Russell
Browse files

module: check kernel param length at compile time, not runtime



The kparam code tries to handle over-length parameter prefixes at
runtime.  Not only would I bet this has never been tested, it's not
clear that truncating names is a good idea either.

So let's check at compile time.  We need to move the #define to
moduleparam.h to do this, though.

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent d72b3751
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment