Re: [PATCH 1/5] Simplify module_get_kallsym() by dropping lengtharg
From: Rusty Russell
Date: Mon Apr 02 2007 - 19:02:58 EST
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@xxxxx>
Acked-by: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
Cheers,
Rusty.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/