On Mon, 12 Jun 2023 21:25:27 +0300, Dmitry Baryshkov wrote: > Change adreno_is_a690() prototype to accept the const struct adreno_gpu > pointer instead of a non-const one. This fixes the following warning: > > In file included from drivers/gpu/drm/msm/msm_drv.c:33: > drivers/gpu/drm/msm/adreno/adreno_gpu.h: In function ‘adreno_is_a660_family’: > drivers/gpu/drm/msm/adreno/adreno_gpu.h:303:54: warning: passing argument 1 of ‘adreno_is_a690’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] > 303 | return adreno_is_a660(gpu) || adreno_is_a690(gpu) || adreno_is_7c3(gpu); > > [...] Applied, thanks! [1/1] drm/msm/adreno: make adreno_is_a690()'s argument const https://gitlab.freedesktop.org/lumag/msm/-/commit/b263325b4f34 Best regards, -- Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>