aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorMartin Kurbanov <[email protected]>2023-11-25 23:05:09 +0300
committerLee Jones <[email protected]>2023-12-13 11:28:53 +0000
commitadfd4621b78d0c02da91335da2b9ad847cb7b39e (patch)
tree0ddd2e83725f1af195ac514808e5c340afee3329 /lib/test_fortify/write_overflow-strncpy-src.c
parent6dec659896b4e683beaea223d306e71e174e84cd (diff)
leds: aw200xx: Fix write to DIM parameter
If write only DIM value to the page 4, LED brightness will not be updated, as both DIM and FADE need to be written to the page 4. Therefore, write DIM to the page 1. Fixes: 36a87f371b7a ("leds: Add AW20xx driver") Signed-off-by: Martin Kurbanov <[email protected]> Signed-off-by: Dmitry Rokosov <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions