mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2024-12-29 17:22:07 +00:00
ALSA: cmipci: Modify the incorrect format specifier
Replace %d with %u in snprintf() because it is "unsigned int". Signed-off-by: liujing <liujing@cmss.chinamobile.com> Link: https://patch.msgid.link/20241206021647.2343-1-liujing@cmss.chinamobile.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
9ad11a3e1b
commit
4ad947884c
@ -3084,7 +3084,7 @@ static int snd_cmipci_create(struct snd_card *card, struct pci_dev *pci,
|
||||
}
|
||||
}
|
||||
}
|
||||
sprintf(card->shortname, "C-Media CMI%d", val);
|
||||
sprintf(card->shortname, "C-Media CMI%u", val);
|
||||
if (cm->chip_version < 68)
|
||||
scnprintf(modelstr, sizeof(modelstr),
|
||||
" (model %d)", cm->chip_version);
|
||||
|
Loading…
Reference in New Issue
Block a user