diff options
| author | Nick Stoughton <nstoughton@logitech.com> | 2019-07-17 14:56:06 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-05 12:27:44 +0200 |
| commit | 28b772b6890184b5de673230be6991402f6d05c4 (patch) | |
| tree | c696071ab23f76c65c51718fb2e2c3fdaaf7b519 /include/linux/stackprotector.h | |
| parent | 2989ee3412b7135b8362a0cc1ae30d6dd31e61d4 (diff) | |
leds: leds-lp5562 allow firmware files up to the maximum length
[ Upstream commit ed2abfebb041473092b41527903f93390d38afa7 ]
Firmware files are in ASCII, using 2 hex characters per byte. The
maximum length of a firmware string is therefore
16 (commands) * 2 (bytes per command) * 2 (characters per byte) = 64
Fixes: ff45262a85db ("leds: add new LP5562 LED driver")
Signed-off-by: Nick Stoughton <nstoughton@logitech.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
