[PATCH] 64bit resource: fix up printks for resources in sound drivers
This is needed if we wish to change the size of the resource structures. Based on an original patch from Vivek Goyal <vgoyal@in.ibm.com> Cc: Vivek Goyal <vgoyal@in.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
@@ -2645,9 +2645,9 @@ static int __init dbri_attach(int prom_node, struct sbus_dev *sdev)
|
||||
strcpy(card->driver, "DBRI");
|
||||
strcpy(card->shortname, "Sun DBRI");
|
||||
rp = &sdev->resource[0];
|
||||
sprintf(card->longname, "%s at 0x%02lx:0x%08lx, irq %d",
|
||||
sprintf(card->longname, "%s at 0x%02lx:0x%016lx, irq %d",
|
||||
card->shortname,
|
||||
rp->flags & 0xffL, rp->start, irq.pri);
|
||||
rp->flags & 0xffL, (unsigned long long)rp->start, irq.pri);
|
||||
|
||||
if ((err = snd_dbri_create(card, sdev, &irq, dev)) < 0) {
|
||||
snd_card_free(card);
|
||||
|
Reference in New Issue
Block a user