summaryrefslogtreecommitdiff
path: root/sound/hda
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-03-13 14:02:23 +0100
committerTakashi Iwai <tiwai@suse.de>2020-03-13 15:58:35 +0100
commit296a37fd029dd8a911396e3c28e0bbd5a2720a5d (patch)
treee69037c3f197b0e5a27203dc7c5af566820ca0fc /sound/hda
parent3db1b00f2122bfe259bdb19f7c0bfcaec54568e3 (diff)
ALSA: pcm: Fix superfluous snprintf() usage
show_pcm_class() returns obviously a short string that can't overflow PAGE_SIZE. And even if it were to overflow, using snprintf() there is just wrong, as it doesn't return the correct size. So simplify with sprintf() instead. Link: https://lore.kernel.org/r/20200313130223.8908-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/hda')
0 files changed, 0 insertions, 0 deletions