Commit 9d8dbf8
fixup! ASoC: SOF: debug_dsp_ops: Add op to test DSP power state changes
Reported by analyzer-use-of-uninitialized-value
sound/soc/sof/debug-dsp-ops.c:216:19: error: use of uninitialized value
‘string’ [CWE-457] [-Werror=analyzer-use-of-uninitialized-value]
The ‘string’ will not be assigned in the default case of switch
(sdev->dsp_power_state.state) and (sdev->dsp_power_state.substate).
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>1 parent 5376d68 commit 9d8dbf8
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| 180 | + | |
180 | 181 | | |
181 | | - | |
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| |||
0 commit comments