Re: [PATCH 0/3] leds/class: Fix string handling

From: Bryan Wu
Date: Mon Mar 30 2015 - 13:15:47 EST


On Mon, Mar 30, 2015 at 1:55 AM, Ricardo Ribalda Delgado
<ricardo.ribalda@xxxxxxxxx> wrote:
> Fix errors reported by Geert Uytterhoeven.
>
> I didn't have the chance to test the changes it in real hardware.
>
>

Thanks, Geert and Ricardo.
Ricardo, do you mind folding your fixing patches with original one
together and send it out again? I will use the new one to replace that
one in my tree, since this patch is not merged into Linus tree yet.

-Bryan


> Ricardo Ribalda Delgado (3):
> leds/class: Use strlcpy instead of strncpy
> leds/class: Check snprintf return value
> leds/class: Set naming index as unsigned
>
> drivers/leds/led-class.c | 14 +++++++++++---
> 1 file changed, 11 insertions(+), 3 deletions(-)
>
> --
> 2.1.4
>
--
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/