mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-04 04:06:26 +00:00
ALSA: dbri: Fix formatting issue in dbri.c
Changed sprintf format specifier for rp->start from %016Lx to %016llx to correctly handle unsigned long long values. Signed-off-by: Zhu Jun <zhujun2@cmss.chinamobile.com> Link: https://patch.msgid.link/20241008055155.11798-1-zhujun2@cmss.chinamobile.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
9930c26060
commit
f762b71b7a
@ -2616,7 +2616,7 @@ static int dbri_probe(struct platform_device *op)
|
||||
strcpy(card->driver, "DBRI");
|
||||
strcpy(card->shortname, "Sun DBRI");
|
||||
rp = &op->resource[0];
|
||||
sprintf(card->longname, "%s at 0x%02lx:0x%016Lx, irq %d",
|
||||
sprintf(card->longname, "%s at 0x%02lx:0x%016llx, irq %d",
|
||||
card->shortname,
|
||||
rp->flags & 0xffL, (unsigned long long)rp->start, irq);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user