[PATCH v2] drm/msm/adreno: Do not propagate void return values

Dmitry Baryshkov dmitry.baryshkov at linaro.org
Wed Jul 6 17:14:05 UTC 2022


On Wed, 6 Jul 2022 at 16:18, Geert Uytterhoeven <geert at linux-m68k.org> wrote:
>
> With sparse ("make C=2"), lots of
>
>   error: return expression in void function
>
> messages are seen.
>
> Fix this by removing the return statements to propagate void return
> values.
>
> Signed-off-by: Geert Uytterhoeven <geert at linux-m68k.org>
> Reviewed-by: Guenter Roeck <linux at roeck-us.net>

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>

> ---
> v2:
>   - Add Reviewed-by.

-- 
With best wishes
Dmitry


More information about the dri-devel mailing list