aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorJohn Garry <[email protected]>2023-03-27 07:43:02 +0000
committerMartin K. Petersen <[email protected]>2023-04-02 22:09:21 -0400
commit0aaa3fad4fd931ba3accac3a1fcc7334ca780591 (patch)
tree6ad4b58ebf2f0a64a9eda5aaa66ab3c7350fbceb /lib/test_fortify/write_overflow-strncpy-src.c
parent00f9d622e8b237d8403569ee51f7bfb9bf89a2d5 (diff)
scsi: scsi_debug: Change shost list lock to a mutex
The shost list lock, sdebug_host_list_lock, is a spinlock. We would only lock in non-atomic context in this driver, so use a mutex instead, which is friendlier if we need to schedule when iterating. Signed-off-by: John Garry <[email protected]> Link: https://lore.kernel.org/r/[email protected] Acked-by: Douglas Gilbert <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions