From: Axel Lin Date: Mon, 14 Mar 2011 11:06:09 +0000 (-0700) Subject: [SCSI] target: Add __init/__exit annotation for target_core_[init,exit]_configfs X-Git-Tag: v2.6.39-rc1~52^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54550fabfecdb71e0deb51999cca7d28bb4299ed;p=pandora-kernel.git [SCSI] target: Add __init/__exit annotation for target_core_[init,exit]_configfs This patch fixes the follownig section mismatch warning: WARNING: vmlinux.o(.text+0x21617a): Section mismatch in reference from the function target_core_init_configfs() to the function .init.text:rd_module_init() The function target_core_init_configfs() references the function __init rd_module_init(). This is often because target_core_init_configfs() lacks a __init annotation or the annotation of rd_module_init is wrong. Signed-off-by: Axel Lin Signed-off-by: Nicholas A. Bellinger Signed-off-by: James Bottomley --- Reading git-diff-tree failed