summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorVladimir Zapolskiy <vz@kernel.org>2026-07-01 23:07:03 +0300
committerVinod Koul <vkoul@kernel.org>2026-07-02 20:39:15 +0530
commit467265c750edd7ab43803deeafe7d3120a791d32 (patch)
tree0cbba50c06dd52fe77408f6da813c2e02bfa84a2 /scripts/const_structs.checkpatch
parentfa9cb11584851414b25fd8bf9f59518424b5917c (diff)
downloadlinux-467265c750edd7ab43803deeafe7d3120a791d32.tar.gz
linux-467265c750edd7ab43803deeafe7d3120a791d32.zip
dmaengine: mediatek: mtk-uart-apdma: Return -ENOMEM on memory allocation failure
If dynamic memory allocation in driver's probe function execution fails, it should be reported to the driver's framework with -ENOMEM error code. Fixes: 9135408c3ace ("dmaengine: mediatek: Add MediaTek UART APDMA support") Signed-off-by: Vladimir Zapolskiy <vz@kernel.org> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com> Link: https://patch.msgid.link/20260701200703.117929-1-vz@kernel.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions