mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
tzlog_dump: support TZ_DIAG_LOG different version
support tzlogdump on shm2018 Change-Id: Idb3de736f4f3b8b8808f08da0fe7e4744b0e6db2 Signed-off-by: xiaoy3 <xiaoy3@motorola.com> Reviewed-on: https://gerrit.mot.com/1157390 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Igor Kovalenko <igork@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
4296ab05d2
commit
fa3cc721ff
1 changed files with 1 additions and 2 deletions
|
|
@ -190,8 +190,7 @@ static void tzlog_dump_show_log(struct seq_file *f)
|
|||
static int tzlog_dump_seq_show(struct seq_file *f, void *ptr)
|
||||
{
|
||||
if (!tzdbg_data ||
|
||||
tzdbg_data->magic_num != TZBSP_MAGIC_NUMBER ||
|
||||
tzdbg_data->version != TZBSP_VERSION) {
|
||||
tzdbg_data->magic_num != TZBSP_MAGIC_NUMBER) {
|
||||
seq_printf(f, "No valid backup\n");
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue