Messages in this thread | | | Subject | Re: [PATCH 1/5] Simplify module_get_kallsym() by dropping length arg | From | Rusty Russell <> | Date | Tue, 03 Apr 2007 09:02:00 +1000 |
| |
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@sw.ru>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Cheers, Rusty.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |