summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorSui Jingfeng <sui.jingfeng@linux.dev>2024-11-04 17:07:38 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-08 09:56:59 +0100
commit25599a16d77717d28b8c231c7e70db4f0a7d80a0 (patch)
tree5da8b249cee4f366a514205153920877fb968d17 /scripts/const_structs.checkpatch
parent13492b477b99771dbadd77c6644865d11b5797c1 (diff)
downloadlinux-25599a16d77717d28b8c231c7e70db4f0a7d80a0.tar.gz
linux-25599a16d77717d28b8c231c7e70db4f0a7d80a0.tar.bz2
linux-25599a16d77717d28b8c231c7e70db4f0a7d80a0.zip
drm/msm: Check return value of of_dma_configure()
[ Upstream commit b34a7401ffaee45354e81b38a4d072794079cfd6 ] Because the of_dma_configure() will returns '-EPROBE_DEFER' if the probe procedure of the specific platform IOMMU driver is not finished yet. It can also return other error code for various reasons. Stop pretending that it will always suceess, quit if it fail. Signed-off-by: Sui Jingfeng <sui.jingfeng@linux.dev> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Fixes: 29ac8979cdf7 ("drm/msm/a6xx: use msm_gem for GMU memory objects") Fixes: 5a903a44a984 ("drm/msm/a6xx: Introduce GMU wrapper support") Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Patchwork: https://patchwork.freedesktop.org/patch/622782/ Link: https://lore.kernel.org/r/20241104090738.529848-1-sui.jingfeng@linux.dev Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions