From: Andy Whitcroft Date: Tue, 10 Jan 2012 23:09:57 +0000 (-0800) Subject: checkpatch: check for common memset parameter issues against statments X-Git-Tag: v3.3-rc1~113^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=554e165cf32610ec9596a183fa1b54a5707fc3cb;p=pandora-kernel.git checkpatch: check for common memset parameter issues against statments Move the memset checks over to work against the statement. Also add checks for 0 and 1 used as lengths. Generally these indicate badly ordered parameters. Signed-off-by: Andy Whitcroft Cc: Joe Perches Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed