[Devel] Re: [PATCH 1/5] Simplify module_get_kallsym() by dropping length arg

Rusty Russell rusty at rustcorp.com.au
Mon Apr 2 16:02:00 PDT 2007


On Mon, 2007-04-02 at 19:01 +0400, Alexey Dobriyan wrote:
> -----------------------------------------------------------------------------
> [PATCH 1/5] Simplify module_get_kallsym() by dropping length arg
> 
> module_get_kallsym() could in theory truncate module symbol name to fit
> in buffer, but nobody does this. Always use KSYM_NAME_LEN + 1 bytes for name.
> 
> Suggested by lg^WRusty.
> 
> Signed-off-by: Alexey Dobriyan <adobriyan at sw.ru>

Acked-by: Rusty Russell <rusty at rustcorp.com.au>

Cheers,
Rusty.





More information about the Devel mailing list