diff options
| author | Jaroslav Kysela <[email protected]> | 2021-06-14 09:17:10 +0200 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2021-06-14 09:50:34 +0200 |
| commit | e381a14c3e3a4e90e293d4eaa5a3ab8ae98b9973 (patch) | |
| tree | 45e543b95cc3a0b995ecb7bfe59c04930d0007ad /tools/perf/scripts/python/bin | |
| parent | 12c11ba5be833391ec73d33de0360aacd9473569 (diff) | |
ALSA: control_led - fix initialization in the mode show callback
The str variable should be always initialized before use even if
the switch covers all cases. This is a minimalistic fix: Assign NULL,
the sprintf() may print '(null)' if something is corrupted.
Signed-off-by: Jaroslav Kysela <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions