From 18c24520a6ebc94e217d06ad84276f666e13ec59 Mon Sep 17 00:00:00 2001 From: Joonyoung Shim Date: Fri, 1 Aug 2014 18:38:41 +0900 Subject: gpu: arm: mali400: fix warning on booting This fixes below warnings. [ 1.461424] ------------[ cut here ]------------ [ 1.464524] WARNING: at fs/proc/generic.c:101 __xlate_proc_name+0xa8/0xbc() [ 1.471444] name '/gpu@13000000' [ 1.474651] Modules linked in: [ 1.477678] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.10.39-01649-g6491ddb-dirty #15 [ 1.485623] [] (unwind_backtrace+0x0/0xf4) from [] (show_stack+0x10/0x14) [ 1.494120] [] (show_stack+0x10/0x14) from [] (warn_slowpath_common+0x54/0x6c) [ 1.503050] [] (warn_slowpath_common+0x54/0x6c) from [] (warn_slowpath_fmt+0x30/0x40) [ 1.512598] [] (warn_slowpath_fmt+0x30/0x40) from [] (__xlate_proc_name+0xa8/0xbc) [ 1.521886] [] (__xlate_proc_name+0xa8/0xbc) from [] (__proc_create+0x4c/0x100) [ 1.530910] [] (__proc_create+0x4c/0x100) from [] (proc_mkdir_data+0x2c/0x68) [ 1.539766] [] (proc_mkdir_data+0x2c/0x68) from [] (register_handler_proc+0xd8/0xf0) [ 1.549233] [] (register_handler_proc+0xd8/0xf0) from [] (__setup_irq+0x1e4/0x440) [ 1.558525] [] (__setup_irq+0x1e4/0x440) from [] (request_threaded_irq+0xa8/0x128) [ 1.567817] [] (request_threaded_irq+0xa8/0x128) from [] (_mali_osk_irq_init+0x64/0x124) [ 1.577628] [] (_mali_osk_irq_init+0x64/0x124) from [] (mali_pp_create+0xac/0x23c) [ 1.586899] [] (mali_pp_create+0xac/0x23c) from [] (mali_initialize_subsystems+0x21c/0x7d8) [ 1.596966] [] (mali_initialize_subsystems+0x21c/0x7d8) from [] (mali_probe+0x3c/0x254) [ 1.606697] [] (mali_probe+0x3c/0x254) from [] (driver_probe_device+0x88/0x244) [ 1.615715] [] (driver_probe_device+0x88/0x244) from [] (__driver_attach+0x8c/0x90) [ 1.625089] [] (__driver_attach+0x8c/0x90) from [] (bus_for_each_dev+0x60/0x94) [ 1.634121] [] (bus_for_each_dev+0x60/0x94) from [] (bus_add_driver+0x1c0/0x24c) [ 1.643232] [] (bus_add_driver+0x1c0/0x24c) from [] (driver_register+0x78/0x140) [ 1.652345] [] (driver_register+0x78/0x140) from [] (mali_module_init+0xc/0x50) [ 1.661370] [] (mali_module_init+0xc/0x50) from [] (do_one_initcall+0x108/0x158) [ 1.670505] [] (do_one_initcall+0x108/0x158) from [] (kernel_init_freeable+0x13c/0x1dc) [ 1.680214] [] (kernel_init_freeable+0x13c/0x1dc) from [] (kernel_init+0xc/0x160) [ 1.689411] [] (kernel_init+0xc/0x160) from [] (ret_from_fork+0x14/0x3c) [ 1.697837] ---[ end trace e694d4bb842a349f ]--- Change-Id: Ic2b9ef0388f929e5d028ccd3b10882aecc9c815e Signed-off-by: Joonyoung Shim --- drivers/gpu/arm/mali400/r4p0_rel0/common/mali_gp.c | 2 +- drivers/gpu/arm/mali400/r4p0_rel0/common/mali_mmu.c | 2 +- drivers/gpu/arm/mali400/r4p0_rel0/common/mali_pp.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/arm/mali400/r4p0_rel0/common/mali_gp.c b/drivers/gpu/arm/mali400/r4p0_rel0/common/mali_gp.c index dad73b2ea5c..64949eb67e8 100644 --- a/drivers/gpu/arm/mali400/r4p0_rel0/common/mali_gp.c +++ b/drivers/gpu/arm/mali400/r4p0_rel0/common/mali_gp.c @@ -49,7 +49,7 @@ struct mali_gp_core *mali_gp_create(const _mali_osk_resource_t * resource, struc mali_gp_irq_probe_trigger, mali_gp_irq_probe_ack, core, - resource->description); + "mali_gp_irq_handlers"); if (NULL != core->irq) { MALI_DEBUG_PRINT(4, ("Mali GP: set global gp core from 0x%08X to 0x%08X\n", mali_global_gp_core, core)); mali_global_gp_core = core; diff --git a/drivers/gpu/arm/mali400/r4p0_rel0/common/mali_mmu.c b/drivers/gpu/arm/mali400/r4p0_rel0/common/mali_mmu.c index fb3a22b0fa1..1fc37cd69a9 100644 --- a/drivers/gpu/arm/mali400/r4p0_rel0/common/mali_mmu.c +++ b/drivers/gpu/arm/mali400/r4p0_rel0/common/mali_mmu.c @@ -123,7 +123,7 @@ struct mali_mmu_core *mali_mmu_create(_mali_osk_resource_t *resource, struct mal mali_mmu_probe_trigger, mali_mmu_probe_ack, mmu, - resource->description); + "mali_mmu_irq_handlers"); if (NULL != mmu->irq) { return mmu; } else { diff --git a/drivers/gpu/arm/mali400/r4p0_rel0/common/mali_pp.c b/drivers/gpu/arm/mali400/r4p0_rel0/common/mali_pp.c index c123746d9f7..785fbbe0d56 100644 --- a/drivers/gpu/arm/mali400/r4p0_rel0/common/mali_pp.c +++ b/drivers/gpu/arm/mali400/r4p0_rel0/common/mali_pp.c @@ -70,7 +70,7 @@ struct mali_pp_core *mali_pp_create(const _mali_osk_resource_t *resource, struct mali_pp_irq_probe_trigger, mali_pp_irq_probe_ack, core, - resource->description); + "mali_pp_irq_handlers"); if (NULL != core->irq) { mali_global_pp_cores[mali_global_num_pp_cores] = core; mali_global_num_pp_cores++; -- cgit v1.2.3