* [patch 1/6] fs/affs/super.c: fix sparse warning
@ 2005-03-19 13:18 domen
2005-03-20 11:52 ` [patch 1/6 with proper signed-off] " Domen Puncer
0 siblings, 1 reply; 2+ messages in thread
From: domen @ 2005-03-19 13:18 UTC (permalink / raw)
To: viro; +Cc: linux-fsdevel, domen, adobriyan
Signed-off-by: Domen Puncer <domen@coderock.org>
---
kj-domen/fs/affs/super.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -puN fs/affs/super.c~sparse-fs_affs_super fs/affs/super.c
--- kj/fs/affs/super.c~sparse-fs_affs_super 2005-03-18 20:05:23.000000000 +0100
+++ kj-domen/fs/affs/super.c 2005-03-18 20:05:23.000000000 +0100
@@ -421,11 +421,11 @@ got_root:
}
if (mount_flags & SF_VERBOSE) {
- chksum = cpu_to_be32(chksum);
+ __be32 chksum1 = cpu_to_be32(chksum);
printk(KERN_NOTICE "AFFS: Mounting volume \"%*s\": Type=%.3s\\%c, Blocksize=%d\n",
AFFS_ROOT_TAIL(sb, root_bh)->disk_name[0],
AFFS_ROOT_TAIL(sb, root_bh)->disk_name + 1,
- (char *)&chksum,((char *)&chksum)[3] + '0',blocksize);
+ (char *)&chksum1,((char *)&chksum1)[3] + '0',blocksize);
}
sb->s_flags |= MS_NODEV | MS_NOSUID;
_
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [patch 1/6 with proper signed-off] fs/affs/super.c: fix sparse warning
2005-03-19 13:18 [patch 1/6] fs/affs/super.c: fix sparse warning domen
@ 2005-03-20 11:52 ` Domen Puncer
0 siblings, 0 replies; 2+ messages in thread
From: Domen Puncer @ 2005-03-20 11:52 UTC (permalink / raw)
To: viro; +Cc: linux-fsdevel, adobriyan
Signed-off-by: Alexey Dobriyan <adobriyan@mail.ru>
Signed-off-by: Domen Puncer <domen@coderock.org>
---
kj-domen/fs/affs/super.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -puN fs/affs/super.c~sparse-fs_affs_super fs/affs/super.c
--- kj/fs/affs/super.c~sparse-fs_affs_super 2005-03-20 12:11:22.000000000 +0100
+++ kj-domen/fs/affs/super.c 2005-03-20 12:11:22.000000000 +0100
@@ -421,11 +421,11 @@ got_root:
}
if (mount_flags & SF_VERBOSE) {
- chksum = cpu_to_be32(chksum);
+ __be32 chksum1 = cpu_to_be32(chksum);
printk(KERN_NOTICE "AFFS: Mounting volume \"%*s\": Type=%.3s\\%c, Blocksize=%d\n",
AFFS_ROOT_TAIL(sb, root_bh)->disk_name[0],
AFFS_ROOT_TAIL(sb, root_bh)->disk_name + 1,
- (char *)&chksum,((char *)&chksum)[3] + '0',blocksize);
+ (char *)&chksum1,((char *)&chksum1)[3] + '0',blocksize);
}
sb->s_flags |= MS_NODEV | MS_NOSUID;
_
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-03-20 11:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-19 13:18 [patch 1/6] fs/affs/super.c: fix sparse warning domen
2005-03-20 11:52 ` [patch 1/6 with proper signed-off] " Domen Puncer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.