Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 375202
b: refs/heads/master
c: 8fe4bb9
h: refs/heads/master
v: v3
  • Loading branch information
Steven J. Hill authored and Ralf Baechle committed May 9, 2013
1 parent 28ff33d commit 77ee131
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f6b06d9361a008afb93b97fb3683a6e92d69d0f4
refs/heads/master: 8fe4bb98e42945ddf2c0d47cec647ef76909e812
3 changes: 2 additions & 1 deletion trunk/arch/mips/mm/uasm-micromips.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ static inline __uasminit u32 build_bimm(s32 arg)

static inline __uasminit u32 build_jimm(u32 arg)
{
WARN(arg & ~(JIMM_MASK << 2),

WARN(arg & ~((JIMM_MASK << 2) | 1),
KERN_WARNING "Micro-assembler field overflow\n");

return (arg >> 1) & JIMM_MASK;
Expand Down

0 comments on commit 77ee131

Please sign in to comment.