summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorXianwei Zhao <xianwei.zhao@amlogic.com>2026-10-16 03:00:17 +0000
committerVinod Koul <vkoul@kernel.org>2026-10-17 10:46:26 +0100
commitaff5e6a77fc69a7c490246465940d18422d7c631 (patch)
treef596ef8ddc4aba4ca4869f89d0108109a6cdb564 /tools/lib/python
parent42c31fec1ca76b8b5f7759def122d418dff2cd4b (diff)
downloadlinux-aff5e6a77fc69a7c490246465940d18422d7c631.tar.gz
linux-aff5e6a77fc69a7c490246465940d18422d7c631.zip
dmaengine: amlogic: Fix regmap error check issue
The func devm_regmap_init_mmio() only returns an error pointer on failure, Use IS_ERR() instead to make the intent clearer. And Fix the following compilation issue at the same time. Smatch warnings: drivers/dma/amlogic-dma.c:636 aml_dma_probe() warn: passing zero to 'PTR_ERR' Fixes: b84b5197e344 ("dmaengine: amlogic: Add general DMA driver for A9") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/r/202610080953.C5TYlCaA-lkp@intel.com/ Reported-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20261016-fix-a9-dma-complier-v1-1-024421d5b3c8@amlogic.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions