From: Ed Cashin Date: Tue, 18 Dec 2012 00:04:04 +0000 (-0800) Subject: aoe: initialize sysminor to avoid compiler warning X-Git-Tag: v3.8-rc1~74^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10935d052eef9441a551571ff5853f84a00b2fd4;p=pandora-kernel.git aoe: initialize sysminor to avoid compiler warning Because the minor_get and related functions use the return values for errors, the compiler doesn't know that sysminor will always either 1) be initialized in aoedev_by_aoeaddr by the call to minor_get, or 2) be unused as the "goto out" is executed. This patch avoids the compiler warning. Signed-off-by: Ed Cashin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed