aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorChristian Marangi <[email protected]>2024-06-26 18:00:11 +0200
committerLee Jones <[email protected]>2024-06-26 17:08:30 +0100
commit409a9dc53682b9f02793584d17721ab3e1b9c86f (patch)
treed94b96a6d40a729ce095ffaf5890543f5370eb3f /lib/test_fortify/write_overflow-strncpy-src.c
parent4d310b96f2db602830c40f82a75ede799b243cce (diff)
leds: leds-lp55xx: Generalize load_engine_and_select_page function
Generalize load_engine_and_select_page by reworking the implementation and making it part of the generic load_engine function. Add a new option in device_config, pages_per_engine used to define pages assigned to each engine. With this option set, it's assumed LED chip supports pages and load_engine will correctly setup the write page. An equal amount of pages is assigned to each engine and they are assigned from page 0. Update any lp55xx based LED driver to define the option and use the new function. Suggested-by: Lee Jones <[email protected]> Signed-off-by: Christian Marangi <[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