aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorMaud Spierings <[email protected]>2025-10-30 06:35:38 +0000
committerMark Brown <[email protected]>2025-10-30 11:30:23 +0000
commit47a0925ee4bd2689f0aef4dbd67dd46442fe1ca2 (patch)
tree07d2b4e54b9bbd847e36b9a2aa706f339467e333 /lib/test_fortify/write_overflow-strlcpy-src.c
parentLinux 6.18-rc3 (diff)
downloadkernel-47a0925ee4bd2689f0aef4dbd67dd46442fe1ca2.tar.gz
kernel-47a0925ee4bd2689f0aef4dbd67dd46442fe1ca2.zip
regulator: bd718x7: Fix voltages scaled by resistor divider
The .min_sel and .max_sel fields remained uninitialized in the new linear_range, causing an error further down the line. Copy the old values of these fields to the new one as they represent the range of register values, which does not change. Fixes: d2ad981151b3a ("regulator: bd718x7: Support external connection to scale voltages") Signed-off-by: Maud Spierings <[email protected]> Reviewed-by: Matti Vaittinen <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions