summaryrefslogtreecommitdiff
path: root/kernel/bpf/stackmap.c
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2022-05-26 15:51:11 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-07-12 16:32:23 +0200
commit1be247db203ed5cdd1bbd2c2588cef2185600531 (patch)
treee2fd433535231d23a5a60deaf1557c7b523087c7 /kernel/bpf/stackmap.c
parent7b721f5aec92593404e1139fb2f50c266eb24e48 (diff)
dmaengine: at_xdma: handle errors of at_xdmac_alloc_desc() correctly
commit 3770d92bd5237d686e49da7b2fb86f53ee6ed259 upstream. It seems that it is valid to have less than the requested number of descriptors. But what is not valid and leads to subsequent errors is to have zero descriptors. In that case, abort the probing. Fixes: e1f7c9eee707 ("dmaengine: at_xdmac: creation of the atmel eXtended DMA Controller driver") Signed-off-by: Michael Walle <michael@walle.cc> Link: https://lore.kernel.org/r/20220526135111.1470926-1-michael@walle.cc Signed-off-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/bpf/stackmap.c')
0 files changed, 0 insertions, 0 deletions