aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorArmin Wolf <[email protected]>2023-09-07 07:26:37 +0200
committerGuenter Roeck <[email protected]>2023-10-27 07:27:24 -0700
commita54fe61639d9f3b6765fee32edda7cfceb6d705a (patch)
tree9709cc7d9bec857e1cfdfc4f1a422ce0906078c0 /lib/memory-notifier-error-inject.c
parent7da8a635436029957c5350da3acf51d78ed64071 (diff)
hwmon: (sch5627) Use regmap for pwm map register caching
Accessing virtual registers is very inefficient, so pwm map values should be cached when possible, else userspace could effectively do a DOS attack by reading pwm map values in a while loop. Use the regmap cache to cache those values. Tested on a Fujitsu Esprimo P720. Signed-off-by: Armin Wolf <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions