[PATCH 2/4] powerpc/mpic_msgr: add lock for MPIC message global variable

Kumar Gala galak at kernel.crashing.org
Fri Apr 20 06:15:38 EST 2012


On Apr 15, 2012, at 9:05 PM, Mingkai Hu wrote:

> Also fix issue of accessing invalid msgr pointer issue. The local
> msgr pointer in fucntion mpic_msgr_get will be accessed before
> getting a valid address which will cause kernel crash.
> 
> Signed-off-by: Mingkai Hu <Mingkai.hu at freescale.com>
> ---
> arch/powerpc/sysdev/mpic_msgr.c |   10 +++++-----
> 1 files changed, 5 insertions(+), 5 deletions(-)

applied to merge

- k


More information about the Linuxppc-dev mailing list