diff options
author | Colin Ian King <colin.king@canonical.com> | 2018-12-19 15:29:49 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-27 14:46:20 +0100 |
commit | 1cdadf8223915491fd3b774581b199b76fcc48e0 (patch) | |
tree | 1878573ef00575b705247ac837b0f042c8a244aa /sound/soc/qcom | |
parent | 0fd24a6a8a063c064a664797d4913d5f365f56a2 (diff) |
drm/nouveau/pmu: don't print reply values if exec is false
[ Upstream commit b1d03fc36ec9834465a08c275c8d563e07f6f6bf ]
Currently the uninitialized values in the array reply are printed out
when exec is false and nvkm_pmu_send has not updated the array. Avoid
confusion by only dumping out these values if they have been actually
updated.
Detected by CoverityScan, CID#1271291 ("Uninitialized scaler variable")
Fixes: ebb58dc2ef8c ("drm/nouveau/pmu: rename from pwr (no binary change)")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'sound/soc/qcom')
0 files changed, 0 insertions, 0 deletions