aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorGuenter Roeck <[email protected]>2021-05-12 15:48:09 -0700
committerGuenter Roeck <[email protected]>2021-05-12 18:53:11 -0700
commit3b5169c2eb81e822445469a077223f8eb0729a59 (patch)
treedc623268a9beeecaf7c9d623bc2a37bc5feec498 /lib/test_fortify/write_overflow-strncpy-src.c
parent8370e5b093080c03cf89f7ebf0bef6984545429e (diff)
hwmon: (adm9240) Fix writes into inX_max attributes
When converting the driver to use the devm_hwmon_device_register_with_info API, the wrong register was selected when writing into inX_max attributes. Fix it. Fixes: 124b7e34a5a6 ("hwmon: (adm9240) Convert to devm_hwmon_device_register_with_info API") Reported-by: Chris Packham <[email protected]> Tested-by: Chris Packham <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions