aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memcpy.c
diff options
context:
space:
mode:
authorBiju Das <[email protected]>2023-08-15 08:34:45 +0100
committerLee Jones <[email protected]>2023-08-22 08:07:52 +0100
commitd92df6fb812c5c126d1a3a06034bb2f2bb0e585f (patch)
tree60534531241698075c7eabb30441b3fa7618e6ed /lib/test_fortify/write_overflow-memcpy.c
parenta160d1286b5907603a5d4329f6047709bc423480 (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-memcpy.c')
0 files changed, 0 insertions, 0 deletions