From: vinod.koul@intel.com (Vinod Koul)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/1] dmaengine: imx-sdma: remove __init annotation on sdma_event_remap
Date: Mon, 16 Nov 2015 09:15:06 +0530 [thread overview]
Message-ID: <20151116034506.GY25173@localhost> (raw)
In-Reply-To: <1447233649-21464-1-git-send-email-r64343@freescale.com>
On Wed, Nov 11, 2015 at 05:20:49PM +0800, Jason Liu wrote:
> The sdma_probe function will call sdma_event_remap, but sdma_event_remap
> marked with the __init annotation which make the kbuild complains as the
> following log:
>
> WARNING: drivers/dma/built-in.o(.text+0x56fc): Section mismatch in reference
> from the function sdma_probe() to the function .init.text:sdma_event_remap()
> The function sdma_probe() references
> the function __init sdma_event_remap().
> This is often because sdma_probe lacks a __init
> annotation or the annotation of sdma_event_remap is wrong.
>
> Remove the __init annotation on sdma_event_remap to kill this build warning
Applied, thanks
--
~Vinod
WARNING: multiple messages have this Message-ID (diff)
From: Vinod Koul <vinod.koul@intel.com>
To: Jason Liu <r64343@freescale.com>
Cc: linux-arm-kernel@lists.infradead.org, dmaengine@vger.kernel.org,
linux-kernel@vger.kernel.org, dan.j.williams@intel.com
Subject: Re: [PATCH 1/1] dmaengine: imx-sdma: remove __init annotation on sdma_event_remap
Date: Mon, 16 Nov 2015 09:15:06 +0530 [thread overview]
Message-ID: <20151116034506.GY25173@localhost> (raw)
In-Reply-To: <1447233649-21464-1-git-send-email-r64343@freescale.com>
On Wed, Nov 11, 2015 at 05:20:49PM +0800, Jason Liu wrote:
> The sdma_probe function will call sdma_event_remap, but sdma_event_remap
> marked with the __init annotation which make the kbuild complains as the
> following log:
>
> WARNING: drivers/dma/built-in.o(.text+0x56fc): Section mismatch in reference
> from the function sdma_probe() to the function .init.text:sdma_event_remap()
> The function sdma_probe() references
> the function __init sdma_event_remap().
> This is often because sdma_probe lacks a __init
> annotation or the annotation of sdma_event_remap is wrong.
>
> Remove the __init annotation on sdma_event_remap to kill this build warning
Applied, thanks
--
~Vinod
next prev parent reply other threads:[~2015-11-16 3:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-11 9:20 [PATCH 1/1] dmaengine: imx-sdma: remove __init annotation on sdma_event_remap Jason Liu
2015-11-11 9:20 ` Jason Liu
2015-11-11 10:01 ` Arnd Bergmann
2015-11-11 10:01 ` Arnd Bergmann
2015-11-11 10:06 ` Liu Jason
2015-11-11 10:06 ` Liu Jason
2015-11-16 3:45 ` Vinod Koul [this message]
2015-11-16 3:45 ` Vinod Koul
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151116034506.GY25173@localhost \
--to=vinod.koul@intel.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.