mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
tracing: do not leak kernel addresses
This l(CR) breaks tracing tools l(CR) trace-cmd. It logs in the same format but now addresses are all 0x0. Bug: 34277115 MOT-CRs-fixed: (CR) Change-Id: Ifb0d4d2a184bf0d95726de05b1acee0287a375d9 Reviewed-on: https://gerrit.mot.com/1887836 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Wang Wang <wangwang1@lenovo.com> Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com> Submit-Approved: Jira Key Reviewed-on: https://gerrit.mot.com/1892775 Reviewed-by: Huosheng Liao <liaohs@motorola.com>
This commit is contained in:
parent
f559241762
commit
3dc89329ea
1 changed files with 1 additions and 1 deletions
|
|
@ -306,7 +306,7 @@ static int t_show(struct seq_file *m, void *v)
|
|||
if (!*fmt)
|
||||
return 0;
|
||||
|
||||
seq_printf(m, "0x%lx : \"", *(unsigned long *)fmt);
|
||||
seq_printf(m, "0x%lx : \"", 0L);
|
||||
|
||||
/*
|
||||
* Tabs and new lines need to be converted.
|
||||
|
|
|
|||
Loading…
Reference in a new issue