diff options
author | Biju Das <[email protected]> | 2023-08-15 08:34:45 +0100 |
---|---|---|
committer | Lee Jones <[email protected]> | 2023-08-22 08:07:52 +0100 |
commit | d92df6fb812c5c126d1a3a06034bb2f2bb0e585f (patch) | |
tree | 60534531241698075c7eabb30441b3fa7618e6ed /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | a160d1286b5907603a5d4329f6047709bc423480 (diff) |
mfd: rz-mtu3: Replace raw_spin_lock->spin_lock()
As per kernel documentation, use raw_spinlock_t only in real critical core
code, low-level interrupt handling, and places where disabling preemption
or interrupts is required. Here the lock is for concurrent register access
from different drivers, hence spin_lock() is sufficient.
Reported-by: Pavel Machek <[email protected]>
Closes: https://lore.kernel.org/all/ZIL%[email protected]/
Signed-off-by: Biju Das <[email protected]>
Reviewed-by: Pavel Machek <[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