Skip to content

Commit

Permalink
[IA64] arch/ia64/sn/kernel/mca.c: undo lock when sn_oemdata can't be …
Browse files Browse the repository at this point in the history
…extended

Clean up locking state in failure path.

Signed-off-by: Roel Kluin <[email protected]>
Cc: Jes Sorensen <[email protected]>
Cc: "Luck, Tony" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Tony Luck <[email protected]>
  • Loading branch information
Roel Kluin authored and aegl committed Oct 29, 2007
1 parent 346f379 commit 41f667f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/ia64/sn/kernel/mca.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ sn_platform_plat_specific_err_print(const u8 * sect_header, u8 ** oemdata,
while (*sn_oemdata_size > sn_oemdata_bufsize) {
u8 *newbuf = vmalloc(*sn_oemdata_size);
if (!newbuf) {
mutex_unlock(&sn_oemdata_mutex);
printk(KERN_ERR "%s: unable to extend sn_oemdata\n",
__FUNCTION__);
return 1;
Expand Down

0 comments on commit 41f667f

Please sign in to comment.