From: Jens Axboe Date: Thu, 16 Sep 2010 06:33:54 +0000 (+0200) Subject: core: match_dev_by_uuid() should not be marked __init X-Git-Tag: v2.6.37-rc1~168^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38b6f45a97bbb8536cc7d095b577f580bd4d643e;p=pandora-kernel.git core: match_dev_by_uuid() should not be marked __init It is also called outside the scope of init functions. Stephen reports: WARNING: init/mounts.o(.text+0x21a): Section mismatch in reference from the function name_to_dev_t() to the function .init.text:match_dev_by_uuid() The function name_to_dev_t() references the function __init match_dev_by_uuid(). This is often because name_to_dev_t lacks a __init annotation or the annotation of match_dev_by_uuid is wrong. Reported-by: Stephen Rothwell Signed-off-by: Jens Axboe --- Reading git-diff-tree failed