aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/xilinx-spi.c
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2022-10-18 19:50:55 +0000
committerJens Axboe <[email protected]>2022-10-20 12:50:29 +0000
commitd4347d50407daea6237872281ece64c4bdf1ec99 (patch)
treefb609912c4deb0ac37524b3067c0324b81598d91 /drivers/fpga/xilinx-spi.c
parentblock, bfq: remove unused variable for bfq_queue (diff)
downloadkernel-d4347d50407daea6237872281ece64c4bdf1ec99.tar.gz
kernel-d4347d50407daea6237872281ece64c4bdf1ec99.zip
bio: safeguard REQ_ALLOC_CACHE bio put
bio_put() with REQ_ALLOC_CACHE assumes that it's executed not from an irq context. Let's add a warning if the invariant is not respected, especially since there is a couple of places removing REQ_POLLED by hand without also clearing REQ_ALLOC_CACHE. Signed-off-by: Pavel Begunkov <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/558d78313476c4e9c233902efa0092644c3d420a.1666122465.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions