summaryrefslogtreecommitdiff
path: root/samples/fanotify
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2022-05-26 15:51:11 +0200
committerVinod Koul <vkoul@kernel.org>2022-07-05 18:18:31 +0530
commit3770d92bd5237d686e49da7b2fb86f53ee6ed259 (patch)
treeea9d36abe5ef5e4add845125d126cf088a9582a5 /samples/fanotify
parent09f7b80fac3e588b282ad26aabd7336d7d293efd (diff)
dmaengine: at_xdma: handle errors of at_xdmac_alloc_desc() correctly
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>
Diffstat (limited to 'samples/fanotify')
0 files changed, 0 insertions, 0 deletions