Skip to content
Commit c288248f authored by Takashi Iwai's avatar Takashi Iwai
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
parent 401caff7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment