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

From: Stephen Rothwell
Date: Thu Nov 15 2018 - 18:11:04 EST


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

--
Cheers,
Stephen Rothwell

Attachment: pgpCH9cwJYlIT.pgp
Description: OpenPGP digital signature