From: Stephen Hemminger Date: Mon, 22 Feb 2010 23:17:09 +0000 (-0800) Subject: scripts: improve checkstack X-Git-Tag: v2.6.35-rc2~61^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f2a144f5ab5e836b5ca8f67bd76b759fa947751;p=pandora-kernel.git scripts: improve checkstack Cleanup checkstack script: * Turn on strict checking * Fix resulting error message because the declaration syntax was incorrect. * Remove incorrect and misleading use of prototype - prototype not required for this type of sort function because $a and $b are being used in this contex - if prototype was being used it should be for both arguments * Use closure for sort function Signed-off-by: Stephen Hemminger Cc: Steven Rostedt Cc: Arjan van de Ven Cc: Cong Wang Cc: Michal Marek Signed-off-by: Andrew Morton Signed-off-by: Michal Marek --- Reading git-diff-tree failed