public inbox for linux-arch@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 31/37] qnx4: use get/put_endian helpers
@ 2008-05-29 20:19 Harvey Harrison
  0 siblings, 0 replies; only message in thread
From: Harvey Harrison @ 2008-05-29 20:19 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-arch

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
 fs/qnx4/inode.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/qnx4/inode.c b/fs/qnx4/inode.c
index b31ab78..c2edfce 100644
--- a/fs/qnx4/inode.c
+++ b/fs/qnx4/inode.c
@@ -372,7 +372,7 @@ static int qnx4_fill_super(struct super_block *s, void *data, int silent)
 		printk("qnx4: unable to read the superblock\n");
 		goto outnobh;
 	}
-	if ( le32_to_cpup((__le32*) bh->b_data) != QNX4_SUPER_MAGIC ) {
+	if (get_le32((__le32 *)bh->b_data) != QNX4_SUPER_MAGIC) {
 		if (!silent)
 			printk("qnx4: wrong fsid in superblock.\n");
 		goto out;
-- 
1.5.6.rc0.277.g804cf

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-05-29 20:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-29 20:19 [PATCH 31/37] qnx4: use get/put_endian helpers Harvey Harrison

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox