aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memcpy.c
diff options
context:
space:
mode:
authorBiju Das <[email protected]>2023-08-15 08:34:44 +0100
committerLee Jones <[email protected]>2023-08-22 08:07:52 +0100
commita160d1286b5907603a5d4329f6047709bc423480 (patch)
treecb5548b5b19cf13a51c03151d09d1afa037c87ad /lib/test_fortify/write_overflow-memcpy.c
parent367124ebb359539fe237899abc6a9c78c6f793b6 (diff)
mfd: rz-mtu3: Reduce critical sections
Reduce critical sections on rz_mtu3_start_stop_ch() and rz_mtu3_is_enabled() by moving offset and bitpos computation outside the critical section and drop the 'ret' variable on rz_mtu3_is_enabled() and return 'tstr & BIT(bitpos)' directly. Reported-by: Pavel Machek <[email protected]> Closes: https://lore.kernel.org/all/[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