From: Arnd Bergmann Date: Thu, 30 Sep 2010 08:24:10 +0000 (+0200) Subject: staging/ft1000-usb: fix problems found by sparse X-Git-Tag: v2.6.37-rc1~60^2~3^2~426 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a953cfd42c00bab00e792422f7c2064c5f0b410;p=pandora-kernel.git staging/ft1000-usb: fix problems found by sparse In the original code, address space annotations are missing, which hides a possible unchecked user pointer access. Two functions use a lot of stack space. Extern declarations are all in the wrong place, which leads to type differences between caller and callee in some cases. Signed-off-by: Arnd Bergmann Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed