aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memcpy.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2023-08-01 21:09:51 +0200
committerBartosz Golaszewski <[email protected]>2023-08-03 15:50:35 +0200
commit5a78d5db9c90c9dc84212f40a5f2687b7cafc8ec (patch)
tree6d7a1b4a5b302f8221f9d97c48e1022b69a8e908 /lib/test_fortify/write_overflow-memcpy.c
parent6eaae198076080886b9e7d57f4ae06fa782f90ef (diff)
gpio: sim: mark the GPIO chip as a one that can sleep
Simulated chips use a mutex for synchronization in driver callbacks so they must not be called from interrupt context. Set the can_sleep field of the GPIO chip to true to force users to only use threaded irqs. Fixes: cb8c474e79be ("gpio: sim: new testing module") Signed-off-by: Bartosz Golaszewski <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Reviewed-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions