[PATCH] drm/msm/adreno: fix sparse warnings in a6xx code

Stephen Boyd swboyd at chromium.org
Mon Apr 10 19:25:19 UTC 2023


Quoting Dmitry Baryshkov (2023-04-06 18:07:41)
> diff --git a/drivers/gpu/drm/msm/adreno/a6xx_gmu.h b/drivers/gpu/drm/msm/adreno/a6xx_gmu.h
> index 0bc3eb443fec..84d345af126f 100644
> --- a/drivers/gpu/drm/msm/adreno/a6xx_gmu.h
> +++ b/drivers/gpu/drm/msm/adreno/a6xx_gmu.h
> @@ -51,8 +51,8 @@ struct a6xx_gmu {
>
>         struct msm_gem_address_space *aspace;
>
> -       void * __iomem mmio;
> -       void * __iomem rscc;
> +       void __iomem * mmio;
> +       void __iomem * rscc;

Should stick that * to the member name.

	void __iomem *rscc;

with that

Reviewed-by: Stephen Boyd <swboyd at chromium.org>


More information about the dri-devel mailing list