diff options
| author | Takashi Iwai <tiwai@suse.de> | 2018-06-27 14:59:00 +0200 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2018-06-27 18:11:32 +0200 |
| commit | c288248f5b26cd5563112fcdc077bf44964a942d (patch) | |
| tree | 5217e0facab2451426d72e844afd90c33ec13594 /tools/perf/scripts/python | |
| parent | ALSA: hda - Kill snd_hda_codec_update_cache() (diff) | |
| download | linux-c288248f5b26cd5563112fcdc077bf44964a942d.tar.gz linux-c288248f5b26cd5563112fcdc077bf44964a942d.zip | |
ALSA: intel_hdmi: Use strlcpy() instead of strncpy()
hdmi_lpe_audio_probe() copies the pcm name string via strncpy(), but
as a gcc8 warning suggests, it misses a NUL terminator, and unlikely
the expected result.
Use the proper one, strlcpy() instead.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
