public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
* [PATCH] mtd: mtk-nor: Drop bogus __init from mtk_nor_init()
       [not found] <1452865589-555-1-git-send-email-geert@linux-m68k.org>
@ 2016-01-15 18:01 ` Brian Norris
  0 siblings, 0 replies; only message in thread
From: Brian Norris @ 2016-01-15 18:01 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Jan 15, 2016 at 02:46:29PM +0100, Geert Uytterhoeven wrote:
> WARNING: drivers/mtd/spi-nor/mtk-quadspi.o(.text+0x77e): Section mismatch in reference from the function mtk_nor_drv_probe() to the function .init.text:mtk_nor_init()
> The function mtk_nor_drv_probe() references
> the function __init mtk_nor_init().
> This is often because mtk_nor_drv_probe lacks a __init
> annotation or the annotation of mtk_nor_init is wrong.
> 
> Drop the bogus __init from mtk_nor_init() to kill this warning.
> 
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k•org>
> ---
> Presumably this went unnoticed because some versions of gcc inline
> mtk_nor_init()?

Pushed to l2-mtd.git. Thanks!

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-01-15 18:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1452865589-555-1-git-send-email-geert@linux-m68k.org>
2016-01-15 18:01 ` [PATCH] mtd: mtk-nor: Drop bogus __init from mtk_nor_init() Brian Norris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox