int display_info_LCD( int crash_side, char * message) { if (hidden_reset_enable) return 0; memset((char *)LG_ErrorHandler_buf,0x0,sizeof(LG_ErrorHandler_buf)); expand_char_to_shrt(message,(unsigned short *)LG_ErrorHandler_buf); display_errorinfo_byLGE(crash_side, (unsigned short *)LG_ErrorHandler_buf,LGE_ERROR_MAX_ROW*LGE_ERROR_MAX_COLUMN ); return 0; }
int display_info_LCD( int crash_side, char * message) { unsigned short * buffer; buffer = kmalloc(LGE_ERROR_MAX_ROW*LGE_ERROR_MAX_COLUMN*sizeof(short), GFP_ATOMIC); if(buffer) expand_char_to_shrt(message,buffer); else printk("Memory Alloc failed!!\n"); display_errorinfo_byLGE(crash_side, buffer,LGE_ERROR_MAX_ROW*LGE_ERROR_MAX_COLUMN ); kfree(buffer); return 0; }