[PATCH 3/3] 64 bit resources more sound changes
- From: Vivek Goyal <vgoyal@xxxxxxxxxx>
- Date: Tue, 28 Mar 2006 17:30:48 -0500
o Changes required to fix compilation warnings for sound/* dir for 64bit
resources. These changes came up due to cross-compilation on powerpc
with CONFIG_PPC32=y
Signed-off-by: Vivek Goyal <vgoyal@xxxxxxxxxx>
---
sound/ppc/pmac.c | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
diff -puN sound/ppc/pmac.c~64bit-resources-more-sound-changes sound/ppc/pmac.c
--- linux-2.6.16-mm2-64bit-res/sound/ppc/pmac.c~64bit-resources-more-sound-changes 2006-03-28 16:20:03.000000000 -0500
+++ linux-2.6.16-mm2-64bit-res-root/sound/ppc/pmac.c 2006-03-28 16:20:29.000000000 -0500
@@ -1198,9 +1198,10 @@ int __init snd_pmac_new(struct snd_card
chip->rsrc[i].start + 1,
rnames[i]) == NULL) {
printk(KERN_ERR "snd: can't request rsrc "
- " %d (%s: 0x%08lx:%08lx)\n",
- i, rnames[i], chip->rsrc[i].start,
- chip->rsrc[i].end);
+ " %d (%s: 0x%016llx:%016llx)\n",
+ i, rnames[i],
+ (unsigned long long)chip->rsrc[i].start,
+ (unsigned long long)chip->rsrc[i].end);
err = -ENODEV;
goto __error;
}
@@ -1229,9 +1230,10 @@ int __init snd_pmac_new(struct snd_card
chip->rsrc[i].start + 1,
rnames[i]) == NULL) {
printk(KERN_ERR "snd: can't request rsrc "
- " %d (%s: 0x%08lx:%08lx)\n",
- i, rnames[i], chip->rsrc[i].start,
- chip->rsrc[i].end);
+ " %d (%s: 0x%016llx:%016llx)\n",
+ i, rnames[i],
+ (unsigned long long)chip->rsrc[i].start,
+ (unsigned long long)chip->rsrc[i].end);
err = -ENODEV;
goto __error;
}
_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- [PATCH 1/3] 64 bit resources arch powerpc changes
- From: Vivek Goyal
- [PATCH 2/3] 64 bit resources more drivers others changes
- From: Vivek Goyal
- [PATCH 1/3] 64 bit resources arch powerpc changes
- Prev by Date: Re: [PATCH] Document Linux's memory barriers [try #5]
- Next by Date: [PATCH 1/3] 64 bit resources arch powerpc changes
- Previous by thread: [PATCH 2/3] 64 bit resources more drivers others changes
- Next by thread: [PATCH] Janitor: drivers/net/pcnet32: fix incorrect comments
- Index(es):
Relevant Pages
- [PATCH 02/21] Unionfs: Coding style fixes
... goto out; ... err = copyup_file(parent_inode, file, bstart, ...
+/* This function replicates the directory structure upto given dentry in the ... int
bindex) ... (Linux-Kernel) - [PATCH 1/5] Unionfs: Convert all instances of "hidden" to "lower"
... goto out; ... return err; ... static int open_all_files
... unionfs_mntget(dentry, bindex); ... (Linux-Kernel) - [PATCH 09/52] CRED: Pass credentials down to ext4 block allocator
... goto out; ... static int ext4_release_dir (struct inode * inode,
... int err; ... (Linux-Kernel) - [TOMOYO #7 30/30] Hooks for SAKURA and TOMOYO.
... TOMOYO Linux 1.6 doesn't use LSM because of the following reasons. ... TOMOYO
Linux requires modification against only "struct task_struct", ... goto exit; ...
if (!err) { ... (Linux-Kernel) - [RHEL5 PATCH 3/4] VFS: Clear up u-long-long ino_t print format warnings
... goto FreeFcallnBail; ... int retval; ... * using the inode
number. ... *err = retval; ... (Linux-Kernel)