LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ppc sparse annotations: emulate_string_inst()
@ 2005-04-25  6:04 Al Viro
  0 siblings, 0 replies; only message in thread
From: Al Viro @ 2005-04-25  6:04 UTC (permalink / raw)
  To: torvalds; +Cc: linuxppc-dev

	replaced declaration of EA from u32 to unsigned long - this beast
is used only to cast it to (userland) pointer and proper integer type for
that is unsigned long.
Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
----
diff -urN RC12-rc3-mveth/arch/ppc/kernel/traps.c RC12-rc3-ppc-traps/arch/ppc/kernel/traps.c
--- RC12-rc3-mveth/arch/ppc/kernel/traps.c	Wed Apr 20 21:25:28 2005
+++ RC12-rc3-ppc-traps/arch/ppc/kernel/traps.c	Mon Apr 25 01:36:38 2005
@@ -403,7 +403,7 @@
 	u8 rA = (instword >> 16) & 0x1f;
 	u8 NB_RB = (instword >> 11) & 0x1f;
 	u32 num_bytes;
-	u32 EA;
+	unsigned long EA;
 	int pos = 0;
 
 	/* Early out if we are an invalid form of lswx */

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

only message in thread, other threads:[~2005-04-25  6:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-25  6:04 [PATCH] ppc sparse annotations: emulate_string_inst() Al Viro

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