From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Subject: Re: [PATCH] ARM: tegra: fix section mismatch in tegra_pmc_parse_dt Date: Mon, 24 Jun 2013 09:19:10 -0600 Message-ID: <51C8636E.1030707@wwwdotorg.org> References: <1371854347-12091-1-git-send-email-swarren@wwwdotorg.org> <1372041600.12718.4.camel@jlo-ubuntu-64.nvidia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1372041600.12718.4.camel-yx3yKKdKkHfc7b1ADBJPm0n48jw8i0AO@public.gmane.org> Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Joseph Lo Cc: "arm-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org" , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" , "linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Stephen Warren List-Id: linux-tegra@vger.kernel.org On 06/23/2013 08:40 PM, Joseph Lo wrote: > On Sat, 2013-06-22 at 06:39 +0800, Stephen Warren wrote: >> From: Stephen Warren >> >> tegra_pmc_parse_dt() references __initconst data. Fix it to be __init. >> This matches its only usage; a call from tegra_pmc_init() which is >> already __init. This fixes: >> >> WARNING: vmlinux.o(.text.unlikely+0x580): Section mismatch in reference >> from the function tegra_pmc_parse_dt() to the (unknown reference) >> .init.rodata:(unknown) >> > Hi Stephen, > > Just curious, I don't see this warning message on my system. Does this > cause by some other patch or something else? The warning only shows up with CONFIG_DEBUG_SECTION_MISMATCH=y, which isn't in tegra_defconfig.