From: Joe Perches Date: Fri, 22 Feb 2013 00:44:18 +0000 (-0800) Subject: checkpatch: Add check for kcalloc argument order X-Git-Tag: v3.9-rc1~114^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ce59ae0bcc0f0ad249d21560c9bb5f6061e62a8;p=pandora-kernel.git checkpatch: Add check for kcalloc argument order kcalloc is sometimes misused with the first and second arguments switched. Same issue with kmalloc_array too. Bleat if sizeof is the first argument Signed-off-by: Joe Perches Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed