]> git.baikalelectronics.ru Git - kernel.git/commit
ubi: Fix section mismatch
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 10 Jan 2017 12:56:42 +0000 (14:56 +0200)
committerRichard Weinberger <richard@nod.at>
Mon, 8 May 2017 18:47:59 +0000 (20:47 +0200)
commit5af7566cb7e18a203f6671830e93fb6dbe408981
tree486dad93e34422122ad269432594b5dc65fde0cd
parentd9d352bfef7d75fba0e04e3f4f01166458bbe1b7
ubi: Fix section mismatch

WARNING: vmlinux.o(.text+0x1f2a80): Section mismatch in reference from the variable __param_ops_mtd to the function .init.text:ubi_mtd_param_parse()
The function __param_ops_mtd() references
the function __init ubi_mtd_param_parse().
This is often because __param_ops_mtd lacks a __init
annotation or the annotation of ubi_mtd_param_parse is wrong.

Cc: Richard Weinberger <richard@nod.at>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
drivers/mtd/ubi/build.c