From: Dan Carpenter Date: Tue, 12 Feb 2013 11:22:08 +0000 (-0300) Subject: [media] mceusb: move check earlier to make smatch happy X-Git-Tag: v3.9-rc1~93^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b940a2219c9d59171339cc4510462154934fcb49;p=pandora-kernel.git [media] mceusb: move check earlier to make smatch happy Smatch complains that "cmdbuf[cmdcount - length]" might go past the end of the array. It's an easy warning to silence by moving the limit check earlier. Signed-off-by: Dan Carpenter Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed