From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.active-venture.com ([67.228.131.205]:59508 "EHLO mail.active-venture.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752053Ab3JEPit (ORCPT ); Sat, 5 Oct 2013 11:38:49 -0400 Message-ID: <52503284.3090509@roeck-us.net> Date: Sat, 05 Oct 2013 08:38:44 -0700 From: Guenter Roeck MIME-Version: 1.0 To: Maxime Ripard , wim@iguana.be CC: linux-arm-kernel@lists.infradead.org, carlo.caione@gmail.com, linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] wdt: sunxi: Fix section mismatch References: <1380982817-10234-1-git-send-email-maxime.ripard@free-electrons.com> In-Reply-To: <1380982817-10234-1-git-send-email-maxime.ripard@free-electrons.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-watchdog-owner@vger.kernel.org List-Id: linux-watchdog@vger.kernel.org On 10/05/2013 07:20 AM, Maxime Ripard wrote: > This driver has a section mismatch, for probe and remove functions, > leading to the following warning during the compilation. > > WARNING: drivers/watchdog/built-in.o(.data+0x24): Section mismatch in > reference from the variable sunxi_wdt_driver to the function > .init.text:sunxi_wdt_probe() > The variable sunxi_wdt_driver references > the function __init sunxi_wdt_probe() > > Signed-off-by: Maxime Ripard Reviewed-by: Guenter Roeck From mboxrd@z Thu Jan 1 00:00:00 1970 From: linux@roeck-us.net (Guenter Roeck) Date: Sat, 05 Oct 2013 08:38:44 -0700 Subject: [PATCH] wdt: sunxi: Fix section mismatch In-Reply-To: <1380982817-10234-1-git-send-email-maxime.ripard@free-electrons.com> References: <1380982817-10234-1-git-send-email-maxime.ripard@free-electrons.com> Message-ID: <52503284.3090509@roeck-us.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 10/05/2013 07:20 AM, Maxime Ripard wrote: > This driver has a section mismatch, for probe and remove functions, > leading to the following warning during the compilation. > > WARNING: drivers/watchdog/built-in.o(.data+0x24): Section mismatch in > reference from the variable sunxi_wdt_driver to the function > .init.text:sunxi_wdt_probe() > The variable sunxi_wdt_driver references > the function __init sunxi_wdt_probe() > > Signed-off-by: Maxime Ripard Reviewed-by: Guenter Roeck