diff options
| author | Nathan Sullivan <[email protected]> | 2016-08-15 17:20:14 -0500 |
|---|---|---|
| committer | Jacek Anaszewski <[email protected]> | 2016-08-16 21:34:30 +0200 |
| commit | 3b9b95363c45365d606ad4bbba16acca75fdf6d3 (patch) | |
| tree | 6ef4e80e14ad3eec71611883e4cd034c74aa651d /drivers/clocksource/qcom-timer.c | |
| parent | 50237863c4edd9c342b522d8edfedf23b20d4a21 (diff) | |
leds: do not overflow sysfs buffer in led_trigger_show
Per the documentation, use scnprintf instead of sprintf to ensure there
is never more than PAGE_SIZE bytes of trigger names put into the
buffer.
Signed-off-by: Nathan Sullivan <[email protected]>
Signed-off-by: Zach Brown <[email protected]>
Signed-off-by: Jacek Anaszewski <[email protected]>
Diffstat (limited to 'drivers/clocksource/qcom-timer.c')
0 files changed, 0 insertions, 0 deletions