Skip to content

Commit

Permalink
[PATCH] ppc sparse annotations: emulate_string_inst()
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Apr 25, 2005
1 parent d01daf7 commit 91de1ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/ppc/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ static int emulate_string_inst(struct pt_regs *regs, u32 instword)
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 */
Expand Down

0 comments on commit 91de1ff

Please sign in to comment.