|
@@ -98,6 +98,7 @@ sn_platform_plat_specific_err_print(const u8 * sect_header, u8 ** oemdata,
|
|
while (*sn_oemdata_size > sn_oemdata_bufsize) {
|
|
while (*sn_oemdata_size > sn_oemdata_bufsize) {
|
|
u8 *newbuf = vmalloc(*sn_oemdata_size);
|
|
u8 *newbuf = vmalloc(*sn_oemdata_size);
|
|
if (!newbuf) {
|
|
if (!newbuf) {
|
|
|
|
+ mutex_unlock(&sn_oemdata_mutex);
|
|
printk(KERN_ERR "%s: unable to extend sn_oemdata\n",
|
|
printk(KERN_ERR "%s: unable to extend sn_oemdata\n",
|
|
__FUNCTION__);
|
|
__FUNCTION__);
|
|
return 1;
|
|
return 1;
|