staging: media: atomisp: sh_css_mmu: use %s/__func__ in debug trace
Subsystems (4)
PATCH 1/1 staging: media: atomisp: sh_css_mmu: use %s/__func__ in debug trace
Replace hardcoded function name strings in ia_css_debug_dtrace() calls with the '%s', __func__ pattern, as preferred by the kernel coding style.
Signed-off-by Batu Ada Tutkun <[email protected]>
--- drivers/staging/media/atomisp/pci/sh_css_mmu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/media/atomisp/pci/sh_css_mmu.c +2 -2
@@ -19,7 +19,7 @@ ia_css_mmu_invalidate_cache(void)unsigned int HIVE_ADDR_ia_css_dmaproxy_sp_invalidate_tlb;ia_css_debug_dtrace (IA_CSS_DEBUG_TRACE , -"ia_css_mmu_invalidate_cache() enter\n" ); +"%s() enter\n" , __func__);/* if the SP is not running we should not access its dmem */ if (sh_css_sp_is_running ()) {
@@ -32,7 +32,7 @@ ia_css_mmu_invalidate_cache(void) true); }ia_css_debug_dtrace (IA_CSS_DEBUG_TRACE , -"ia_css_mmu_invalidate_cache() leave\n" ); +"%s() leave\n" , __func__); }void
Signature · 1 line
2.53.0