[PATCH] Correct offset_in_page mask bits in function edac_mc_handle_ce.

2011-07-13 Thread Shaohui Xie
From: Kai.Jiang Parameter offset_in_page in function edac_mc_handle_ce should be masked the higher bits above the page size, not the lower bits. The original input sometimes causes crash. Signed-off-by: Kai.Jiang --- drivers/edac/mpc85xx_edac.c |4 ++-- 1 files changed, 2 insertions(+), 2

Re: [PATCH] Correct offset_in_page mask bits in function edac_mc_handle_ce.

2011-07-14 Thread Andrew Morton
On Thu, 14 Jul 2011 10:01:42 +0800 Shaohui Xie wrote: > From: Kai.Jiang > > Parameter offset_in_page in function edac_mc_handle_ce should be masked > the higher bits above the page size, not the lower bits. The original input > sometimes causes crash. > > Signed-off-by: Kai.Jiang > --- > dri

RE: [PATCH] Correct offset_in_page mask bits in function edac_mc_handle_ce.

2011-07-14 Thread Xie Shaohui-B21989
on.com; Jiang >Kai-B18973 >Subject: Re: [PATCH] Correct offset_in_page mask bits in function >edac_mc_handle_ce. > >On Thu, 14 Jul 2011 10:01:42 +0800 >Shaohui Xie wrote: > >> From: Kai.Jiang >> >> Parameter offset_in_page in function edac_mc_handle_ce sho