Re: linux-next: build warning after merge of the qcom tree

From: Stephen Rothwell
Date: Wed Nov 28 2018 - 16:25:58 EST


Hi all,

On Fri, 16 Nov 2018 10:10:59 +1100 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> Hi all,
>
> After merging the qcom tree, today's linux-next build (arm
> multi_v7_defconfig) produced this warning:
>
> drivers/gpu/drm/msm/adreno/a6xx_gmu.c: In function 'a6xx_gmu_rpmh_arc_votes_init.constprop':
> drivers/gpu/drm/msm/adreno/a6xx_gmu.c:943:12: warning: 'pri_count' is used uninitialized in this function [-Wuninitialized]
> pri_count >>= 1;
> ^~~
> drivers/gpu/drm/msm/adreno/a6xx_gmu.c:948:12: warning: 'sec_count' may be used uninitialized in this function [-Wmaybe-uninitialized]
> sec_count >>= 1;
> ^~~
>
> Introduced by commit
>
> ed3cafa79ea7 ("soc: qcom: cmd-db: Stop memcpy()ing in cmd_db_read_aux_data()")
>
> # CONFIG_QCOM_COMMAND_DB is not set

I am still getting these warnings.

--
Cheers,
Stephen Rothwell

Attachment: pgpMWSVEELBE3.pgp
Description: OpenPGP digital signature