[PATCH v2] drm/msm/dpu: clean up dpu_kms_get_clk_rate() returns

Dmitry Baryshkov dmitry.baryshkov at linaro.org
Sun Jun 4 03:01:27 UTC 2023


On Fri, 26 May 2023 14:51:59 +0300, Dan Carpenter wrote:
> Static analysis tools complain about the -EINVAL error code being
> stored in an unsigned variable.  Let's change this to match
> the clk_get_rate() function which is type unsigned long and returns
> zero on error.
> 
> 

Applied, thanks!

[1/1] drm/msm/dpu: clean up dpu_kms_get_clk_rate() returns
      https://gitlab.freedesktop.org/lumag/msm/-/commit/025e3d97867c

Best regards,
-- 
Dmitry Baryshkov <dmitry.baryshkov at linaro.org>


More information about the dri-devel mailing list