]> git.proxmox.com Git - mirror_ubuntu-artful-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)
commit435009d4064af72b283fdd47025cede4dfefc6d2
tree486dad93e34422122ad269432594b5dc65fde0cd
parenta351e9b9fc24e982ec2f0e76379a49826036da12
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