aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorLoic Prylli <[email protected]>2023-11-03 11:30:55 +0100
committerGuenter Roeck <[email protected]>2024-02-04 06:43:44 -0800
commit1168491e7f53581ba7b6014a39a49cfbbb722feb (patch)
treec7a0358998ad5a6645ac7537cb0716e5929c5498 /lib/test_fortify/write_overflow-strncpy-src.c
parent54be6c6c5ae8e0d93a6c4641cb7528eb0b6ba478 (diff)
hwmon: (aspeed-pwm-tacho) mutex for tach reading
the ASPEED_PTCR_RESULT Register can only hold the result for a single fan input. Adding a mutex to protect the register until the reading is done. Signed-off-by: Loic Prylli <[email protected]> Signed-off-by: Alexander Hansen <[email protected]> Fixes: 2d7a548a3eff ("drivers: hwmon: Support for ASPEED PWM/Fan tach") Link: https://lore.kernel.org/r/121d888762a1232ef403cf35230ccf7b3887083a.1699007401.git.alexander.hansen@9elements.com 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