Skip to content

Commit

Permalink
sparc64: Fix crashes in jbusmc_print_dimm()
Browse files Browse the repository at this point in the history
Return was missing for the case where there is no dimm
info match.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Feb 11, 2009
1 parent 1db8508 commit 1b0e235
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/sparc/kernel/chmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ static int jbusmc_print_dimm(int syndrome_code,
buf[1] = '?';
buf[2] = '?';
buf[3] = '\0';
return 0;
}
p = dp->controller;
prop = &p->layout;
Expand Down

0 comments on commit 1b0e235

Please sign in to comment.