linux-next: build warning after merge of the qcom tree
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
Signature · 2 lines
Cheers, Stephen Rothwell
Hi all,
Quoted 14 lines · On Fri, 16 Nov 2018 10:10:59 +1100 Stephen Rothwell <[email protected]>…
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; ^~~
Quoted 5 lines
Introduced by commit
ed3cafa79ea7("soc: qcom: cmd-db: Stop memcpy()ing incmd_db_read_aux_data()")#
CONFIG_QCOM_COMMAND_DBis not set
I am still getting these warnings.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoting Stephen Rothwell (2018-11-28 13:25:40)
Quoted 17 lines
Hi all,
Quoted 14 lines · On Fri, 16 Nov 2018 10:10:59 +1100 Stephen Rothwell <[email protected]>…
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; ^~~
Quoted 8 lines
Quoted 5 lines
Introduced by commit
ed3cafa79ea7("soc: qcom: cmd-db: Stop memcpy()ing incmd_db_read_aux_data()")#
CONFIG_QCOM_COMMAND_DBis not setI am still getting these warnings.
Andy's email isn't at codeaurora.org anymore. Not sure if that matters but he may be missing this.
Either way, thanks for the report. Fix coming shortly.
Hi Stephen,
Quoted 3 lines · On Thu, 29 Nov 2018 08:30:48 -0800 Stephen Boyd <[email protected]> wrote:
Andy's email isn't at codeaurora.org anymore. Not sure if that matters but he may be missing this.
I have updated my contacts list, thanks.
Signature · 2 lines
Cheers, Stephen Rothwell