diff options
author | Kai.Jiang | 2011-07-26 16:08:49 -0700 |
---|---|---|
committer | Linus Torvalds | 2011-07-26 16:49:45 -0700 |
commit | 444d2921215ae6c21f90eb5fa5d03f784f84f1aa (patch) | |
tree | 576048f72d3460958b466849282ce9866d29ea27 /block/ioctl.c | |
parent | b34a6b1da371ed8af1221459a18c67970f7e3d53 (diff) |
drivers/edac/mpc85xx_edac.c: correct offset_in_page mask bits in edac_mc_handle_ce()
Parameter offset_in_page in edac_mc_handle_ce() should mask the higher
bits above the page size, not the lower bits. The original input
sometimes causes a crash.
Signed-off-by: Kai.Jiang <Kai.Jiang@freescale.com>
Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Cc: Anton Vorontsov <avorontsov@mvista.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'block/ioctl.c')
0 files changed, 0 insertions, 0 deletions