[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1427705712-18083-1-git-send-email-ricardo.ribalda@gmail.com>
Date: Mon, 30 Mar 2015 10:55:09 +0200
From: Ricardo Ribalda Delgado <ricardo.ribalda@...il.com>
To: Bryan Wu <cooloney@...il.com>, Richard Purdie <rpurdie@...ys.net>,
linux-leds@...r.kernel.org, linux-kernel@...r.kernel.org,
Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: Ricardo Ribalda Delgado <ricardo.ribalda@...il.com>
Subject: [PATCH 0/3] leds/class: Fix string handling
Fix errors reported by Geert Uytterhoeven.
I didn't have the chance to test the changes it in real hardware.
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists