All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch 1/1] fs/affs/super.c: fix sparse warning
@ 2005-06-20 21:55 domen
  0 siblings, 0 replies; only message in thread
From: domen @ 2005-06-20 21:55 UTC (permalink / raw)
  To: zippel; +Cc: linux-fsdevel, Alexey Dobriyan, domen

[-- Attachment #1: sparse-fs_affs_super.patch --]
[-- Type: text/plain, Size: 870 bytes --]

From: Alexey Dobriyan <adobriyan@mail.ru>


Signed-off-by: Alexey Dobriyan <adobriyan@mail.ru>
Signed-off-by: Domen Puncer <domen@coderock.org>
---
 super.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Index: quilt/fs/affs/super.c
===================================================================
--- quilt.orig/fs/affs/super.c
+++ quilt/fs/affs/super.c
@@ -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] only message in thread

only message in thread, other threads:[~2005-06-20 22:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-20 21:55 [patch 1/1] fs/affs/super.c: fix sparse warning domen

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.