* [arm-tegra:for-3.9/arm-timer-rework 11/12] arch/arm/mach-imx/imx31-dt.c:36:2: warning: initialization from incompatible pointer type
@ 2013-01-29 18:55 kbuild test robot
[not found] ` <51081b3d.Rfc8JxYDG0uLRpnk%fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: kbuild test robot @ 2013-01-29 18:55 UTC (permalink / raw)
To: Stephen Warren; +Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA
tree: git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra.git for-3.9/arm-timer-rework
head: ae278a935f086775e8ae31a8ec9f7224ea25ea3c
commit: 6bb27d7349db51b50c40534710fe164ca0d58902 [11/12] ARM: delete struct sys_timer
config: make ARCH=arm imx_v6_v7_defconfig
All warnings:
>> arch/arm/mach-imx/imx31-dt.c:36:2: warning: initialization from incompatible pointer type [enabled by default]
>> arch/arm/mach-imx/imx31-dt.c:36:2: warning: (near initialization for '__mach_desc_IMX31_DT.init_time') [enabled by default]
vim +36 arch/arm/mach-imx/imx31-dt.c
20
21 static const struct of_dev_auxdata imx31_auxdata_lookup[] __initconst = {
22 OF_DEV_AUXDATA("fsl,imx31-uart", MX31_UART1_BASE_ADDR,
23 "imx21-uart.0", NULL),
24 OF_DEV_AUXDATA("fsl,imx31-uart", MX31_UART2_BASE_ADDR,
25 "imx21-uart.1", NULL),
26 OF_DEV_AUXDATA("fsl,imx31-uart", MX31_UART3_BASE_ADDR,
27 "imx21-uart.2", NULL),
28 OF_DEV_AUXDATA("fsl,imx31-uart", MX31_UART4_BASE_ADDR,
29 "imx21-uart.3", NULL),
30 OF_DEV_AUXDATA("fsl,imx31-uart", MX31_UART5_BASE_ADDR,
31 "imx21-uart.4", NULL),
32 { /* sentinel */ }
33 };
34
35 static void __init imx31_dt_init(void)
> 36 {
37 of_platform_populate(NULL, of_default_bus_match_table,
38 imx31_auxdata_lookup, NULL);
39 }
40
41 static const char *imx31_dt_board_compat[] __initdata = {
42 "fsl,imx31",
43 NULL
44 };
---
0-DAY kernel build testing backend Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild Intel Corporation
^ permalink raw reply [flat|nested] 4+ messages in thread[parent not found: <51081b3d.Rfc8JxYDG0uLRpnk%fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>]
* Re: [arm-tegra:for-3.9/arm-timer-rework 11/12] arch/arm/mach-imx/imx31-dt.c:36:2: warning: initialization from incompatible pointer type [not found] ` <51081b3d.Rfc8JxYDG0uLRpnk%fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> @ 2013-01-29 19:13 ` Stephen Warren [not found] ` <51081F64.8040604-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Stephen Warren @ 2013-01-29 19:13 UTC (permalink / raw) To: kbuild test robot; +Cc: Stephen Warren, linux-tegra-u79uwXL29TY76Z2rM5mHXA On 01/29/2013 11:55 AM, kbuild test robot wrote: > tree: git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra.git for-3.9/arm-timer-rework > head: ae278a935f086775e8ae31a8ec9f7224ea25ea3c > commit: 6bb27d7349db51b50c40534710fe164ca0d58902 [11/12] ARM: delete struct sys_timer > config: make ARCH=arm imx_v6_v7_defconfig > > All warnings: > >>> arch/arm/mach-imx/imx31-dt.c:36:2: warning: initialization from incompatible pointer type [enabled by default] >>> arch/arm/mach-imx/imx31-dt.c:36:2: warning: (near initialization for '__mach_desc_IMX31_DT.init_time') [enabled by default] I don't see this warning with gcc-4.5.3, and the warning above doesn't seem to match the code below at line 36 either. Was the source tree corrupt somehow? > vim +36 arch/arm/mach-imx/imx31-dt.c ... > 35 static void __init imx31_dt_init(void) > > 36 { > 37 of_platform_populate(NULL, of_default_bus_match_table, > 38 imx31_auxdata_lookup, NULL); > 39 } ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <51081F64.8040604-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>]
* Re: [arm-tegra:for-3.9/arm-timer-rework 11/12] arch/arm/mach-imx/imx31-dt.c:36:2: warning: initialization from incompatible pointer type [not found] ` <51081F64.8040604-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> @ 2013-01-30 1:35 ` Fengguang Wu 2013-01-30 3:47 ` Stephen Warren 0 siblings, 1 reply; 4+ messages in thread From: Fengguang Wu @ 2013-01-30 1:35 UTC (permalink / raw) To: Stephen Warren; +Cc: Stephen Warren, linux-tegra-u79uwXL29TY76Z2rM5mHXA On Tue, Jan 29, 2013 at 12:13:40PM -0700, Stephen Warren wrote: > On 01/29/2013 11:55 AM, kbuild test robot wrote: > > tree: git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra.git for-3.9/arm-timer-rework > > head: ae278a935f086775e8ae31a8ec9f7224ea25ea3c > > commit: 6bb27d7349db51b50c40534710fe164ca0d58902 [11/12] ARM: delete struct sys_timer > > config: make ARCH=arm imx_v6_v7_defconfig > > > > All warnings: > > > >>> arch/arm/mach-imx/imx31-dt.c:36:2: warning: initialization from incompatible pointer type [enabled by default] > >>> arch/arm/mach-imx/imx31-dt.c:36:2: warning: (near initialization for '__mach_desc_IMX31_DT.init_time') [enabled by default] > > I don't see this warning with gcc-4.5.3, and the warning above doesn't > seem to match the code below at line 36 either. Was the source tree > corrupt somehow? Stephen, I can reproduce the problem with gcc-4.6.3, but at a different line number (weird): /c/wfg/sound/arch/arm/mach-imx/imx31-dt.c:51:2: warning: initialization from incompatible pointer type [enabled by default] /c/wfg/sound/arch/arm/mach-imx/imx31-dt.c:51:2: warning: (near initialization for '__mach_desc_IMX31_DT.init_time') [enabled by default] 45 46 DT_MACHINE_START(IMX31_DT, "Freescale i.MX31 (Device Tree Support)") 47 .map_io = mx31_map_io, 48 .init_early = imx31_init_early, 49 .init_irq = mx31_init_irq, 50 .handle_irq = imx31_handle_irq, 51 .init_time = mx31_clocks_init_dt, 52 .init_machine = imx31_dt_init, 53 .dt_compat = imx31_dt_board_compat, 54 .restart = mxc_restart, 55 MACHINE_END Thanks, Fengguang ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [arm-tegra:for-3.9/arm-timer-rework 11/12] arch/arm/mach-imx/imx31-dt.c:36:2: warning: initialization from incompatible pointer type 2013-01-30 1:35 ` Fengguang Wu @ 2013-01-30 3:47 ` Stephen Warren 0 siblings, 0 replies; 4+ messages in thread From: Stephen Warren @ 2013-01-30 3:47 UTC (permalink / raw) To: Fengguang Wu Cc: Stephen Warren, linux-tegra-u79uwXL29TY76Z2rM5mHXA, Shawn Guo, Sascha Hauer (s.hauer-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org) On 01/29/2013 06:35 PM, Fengguang Wu wrote: > On Tue, Jan 29, 2013 at 12:13:40PM -0700, Stephen Warren wrote: >> On 01/29/2013 11:55 AM, kbuild test robot wrote: >>> tree: git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra.git for-3.9/arm-timer-rework >>> head: ae278a935f086775e8ae31a8ec9f7224ea25ea3c >>> commit: 6bb27d7349db51b50c40534710fe164ca0d58902 [11/12] ARM: delete struct sys_timer >>> config: make ARCH=arm imx_v6_v7_defconfig >>> >>> All warnings: >>> >>>>> arch/arm/mach-imx/imx31-dt.c:36:2: warning: initialization from incompatible pointer type [enabled by default] >>>>> arch/arm/mach-imx/imx31-dt.c:36:2: warning: (near initialization for '__mach_desc_IMX31_DT.init_time') [enabled by default] >> >> I don't see this warning with gcc-4.5.3, and the warning above doesn't >> seem to match the code below at line 36 either. Was the source tree >> corrupt somehow? > > Stephen, I can reproduce the problem with gcc-4.6.3, but at a > different line number (weird): > > /c/wfg/sound/arch/arm/mach-imx/imx31-dt.c:51:2: warning: initialization from incompatible pointer type [enabled by default] > /c/wfg/sound/arch/arm/mach-imx/imx31-dt.c:51:2: warning: (near initialization for '__mach_desc_IMX31_DT.init_time') [enabled by > default] OK, I've reproduced the problem now, and is indeed real. I'll whip up a patch. The very very odd thing is that imx31-dt.c is only compiled if CONFIG_MACH_IMX31_DT, and imx_v6_v7_defconfig doesn't specify a value for that option, so it's disabled when I "make imx_v6_v7_defconfig". If I manually enable the option via "make menuconfig", then I do see this problem. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-01-30 3:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-29 18:55 [arm-tegra:for-3.9/arm-timer-rework 11/12] arch/arm/mach-imx/imx31-dt.c:36:2: warning: initialization from incompatible pointer type kbuild test robot
[not found] ` <51081b3d.Rfc8JxYDG0uLRpnk%fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2013-01-29 19:13 ` Stephen Warren
[not found] ` <51081F64.8040604-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-01-30 1:35 ` Fengguang Wu
2013-01-30 3:47 ` Stephen Warren
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox