summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonyoung Shim <jy0922.shim@samsung.com>2014-08-01 18:38:41 +0900
committerChanho Park <chanho61.park@samsung.com>2014-11-18 12:01:18 +0900
commit18c24520a6ebc94e217d06ad84276f666e13ec59 (patch)
treed81bdbd9c84387fc47d681365c88761292f777df
parentb6f2238c5fe08527d524498ac6ee519f019b8bf5 (diff)
downloadlinux-3.10-18c24520a6ebc94e217d06ad84276f666e13ec59.tar.gz
linux-3.10-18c24520a6ebc94e217d06ad84276f666e13ec59.tar.bz2
linux-3.10-18c24520a6ebc94e217d06ad84276f666e13ec59.zip
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] [<c0014224>] (unwind_backtrace+0x0/0xf4) from [<c0011520>] (show_stack+0x10/0x14) [ 1.494120] [<c0011520>] (show_stack+0x10/0x14) from [<c001ff7c>] (warn_slowpath_common+0x54/0x6c) [ 1.503050] [<c001ff7c>] (warn_slowpath_common+0x54/0x6c) from [<c001ffc4>] (warn_slowpath_fmt+0x30/0x40) [ 1.512598] [<c001ffc4>] (warn_slowpath_fmt+0x30/0x40) from [<c010774c>] (__xlate_proc_name+0xa8/0xbc) [ 1.521886] [<c010774c>] (__xlate_proc_name+0xa8/0xbc) from [<c01077ac>] (__proc_create+0x4c/0x100) [ 1.530910] [<c01077ac>] (__proc_create+0x4c/0x100) from [<c0107b18>] (proc_mkdir_data+0x2c/0x68) [ 1.539766] [<c0107b18>] (proc_mkdir_data+0x2c/0x68) from [<c007b72c>] (register_handler_proc+0xd8/0xf0) [ 1.549233] [<c007b72c>] (register_handler_proc+0xd8/0xf0) from [<c0077b38>] (__setup_irq+0x1e4/0x440) [ 1.558525] [<c0077b38>] (__setup_irq+0x1e4/0x440) from [<c0077ec4>] (request_threaded_irq+0xa8/0x128) [ 1.567817] [<c0077ec4>] (request_threaded_irq+0xa8/0x128) from [<c02a6f34>] (_mali_osk_irq_init+0x64/0x124) [ 1.577628] [<c02a6f34>] (_mali_osk_irq_init+0x64/0x124) from [<c02afa58>] (mali_pp_create+0xac/0x23c) [ 1.586899] [<c02afa58>] (mali_pp_create+0xac/0x23c) from [<c02aa94c>] (mali_initialize_subsystems+0x21c/0x7d8) [ 1.596966] [<c02aa94c>] (mali_initialize_subsystems+0x21c/0x7d8) from [<c02ab854>] (mali_probe+0x3c/0x254) [ 1.606697] [<c02ab854>] (mali_probe+0x3c/0x254) from [<c02bd314>] (driver_probe_device+0x88/0x244) [ 1.615715] [<c02bd314>] (driver_probe_device+0x88/0x244) from [<c02bd5a0>] (__driver_attach+0x8c/0x90) [ 1.625089] [<c02bd5a0>] (__driver_attach+0x8c/0x90) from [<c02bb8f0>] (bus_for_each_dev+0x60/0x94) [ 1.634121] [<c02bb8f0>] (bus_for_each_dev+0x60/0x94) from [<c02bcb68>] (bus_add_driver+0x1c0/0x24c) [ 1.643232] [<c02bcb68>] (bus_add_driver+0x1c0/0x24c) from [<c02bdb78>] (driver_register+0x78/0x140) [ 1.652345] [<c02bdb78>] (driver_register+0x78/0x140) from [<c02abaa4>] (mali_module_init+0xc/0x50) [ 1.661370] [<c02abaa4>] (mali_module_init+0xc/0x50) from [<c000870c>] (do_one_initcall+0x108/0x158) [ 1.670505] [<c000870c>] (do_one_initcall+0x108/0x158) from [<c07bec54>] (kernel_init_freeable+0x13c/0x1dc) [ 1.680214] [<c07bec54>] (kernel_init_freeable+0x13c/0x1dc) from [<c05a05bc>] (kernel_init+0xc/0x160) [ 1.689411] [<c05a05bc>] (kernel_init+0xc/0x160) from [<c000df58>] (ret_from_fork+0x14/0x3c) [ 1.697837] ---[ end trace e694d4bb842a349f ]--- Change-Id: Ic2b9ef0388f929e5d028ccd3b10882aecc9c815e Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
-rw-r--r--drivers/gpu/arm/mali400/r4p0_rel0/common/mali_gp.c2
-rw-r--r--drivers/gpu/arm/mali400/r4p0_rel0/common/mali_mmu.c2
-rw-r--r--drivers/gpu/arm/mali400/r4p0_rel0/common/mali_pp.c2
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++;