From: Enrico Scholz Date: Sun, 11 Oct 2009 09:52:48 +0000 (+0200) Subject: USB: pxa27x_udc: avoid compiler warnings and misbehavior on buggy hardware X-Git-Tag: v2.6.34-rc1~215^2~202 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fdb31d9665a9106190d9f8888cf06252c20f3ce;p=pandora-kernel.git USB: pxa27x_udc: avoid compiler warnings and misbehavior on buggy hardware hardware reports wrong interrupt. Although such a situation should not happen, the compiler complains about this access. This patch adds a sanity check and generates warning to detect such issues. Signed-off-by: Enrico Scholz Acked-by: Robert Jarzmik Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed