Skip to content

Commit 3d81099

Browse files
drinkcatmchehab
authored andcommitted
media: atomisp: Replace trace_printk by pr_info
trace_printk should not be used in production code, replace it call with pr_info. Signed-off-by: Nicolas Boichat <[email protected]> Acked-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent d8ebd81 commit 3d81099

File tree

1 file changed

+5
-5
lines changed
  • drivers/staging/media/atomisp/pci/hmm

1 file changed

+5
-5
lines changed

drivers/staging/media/atomisp/pci/hmm/hmm.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -735,11 +735,11 @@ ia_css_ptr hmm_host_vaddr_to_hrt_vaddr(const void *ptr)
735735

736736
void hmm_show_mem_stat(const char *func, const int line)
737737
{
738-
trace_printk("tol_cnt=%d usr_size=%d res_size=%d res_cnt=%d sys_size=%d dyc_thr=%d dyc_size=%d.\n",
739-
hmm_mem_stat.tol_cnt,
740-
hmm_mem_stat.usr_size, hmm_mem_stat.res_size,
741-
hmm_mem_stat.res_cnt, hmm_mem_stat.sys_size,
742-
hmm_mem_stat.dyc_thr, hmm_mem_stat.dyc_size);
738+
pr_info("tol_cnt=%d usr_size=%d res_size=%d res_cnt=%d sys_size=%d dyc_thr=%d dyc_size=%d.\n",
739+
hmm_mem_stat.tol_cnt,
740+
hmm_mem_stat.usr_size, hmm_mem_stat.res_size,
741+
hmm_mem_stat.res_cnt, hmm_mem_stat.sys_size,
742+
hmm_mem_stat.dyc_thr, hmm_mem_stat.dyc_size);
743743
}
744744

745745
void hmm_init_mem_stat(int res_pgnr, int dyc_en, int dyc_pgnr)

0 commit comments

Comments
 (0)