Re: [PATCH] Incorrect string length checking in param_set_copystring()

From: Julio Auto
Date: Sun Aug 20 2006 - 12:15:15 EST

As for, linux/include/linux/moduleparam.h suggests the user
of module_param_string() to set the maxlen parameter to
strlen(string), ie. '\0' excluded.

Actually, sizeof(string), not strlen(string). Senseless typo here.
Sorry, my bad. :)


Julio Auto
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at