From: Inaky Perez-Gonzalez Date: Thu, 11 Jun 2009 18:13:41 +0000 (-0700) Subject: wimax: fix gcc warnings in sh4 when calling BUG() X-Git-Tag: v2.6.31-rc1~330^2~34^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98eb0f53e2fc66482e2ea8033c58b20a079e5260;p=pandora-kernel.git wimax: fix gcc warnings in sh4 when calling BUG() SH4's BUG() seems to confuse the compiler as it is considered to return; thus, some functions would trigger usage of uninitialized variables or non-void functions returning void. Work around by initializing/returning. Signed-off-by: Inaky Perez-Gonzalez --- Reading git-diff-tree failed