aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorBen Dooks <ben.dooks@sifive.com>2022-07-08 18:01:53 +0100
committerVinod Koul <vkoul@kernel.org>2022-07-21 18:03:09 +0530
commit820f5ce999d2f99961e88c16d65cd26764df0590 (patch)
treee26345f5301503a6745a59ddec7b4a75d7d5744f /lib/test_fortify/write_overflow-strncpy-src.c
parent86cb0defe0e275453bc39e856bb523eb425a6537 (diff)
dmaengine: dw-axi-dmac: ignore interrupt if no descriptor
If the channel has no descriptor and the interrupt is raised then the kernel will OOPS. Check the result of vchan_next_desc() in the handler axi_chan_block_xfer_complete() to avoid the error happening. Signed-off-by: Ben Dooks <ben.dooks@sifive.com> Link: https://lore.kernel.org/r/20220708170153.269991-4-ben.dooks@sifive.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions