Please sign in to comment.
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 <firstname.lastname@example.org> Cc: Steven Rostedt <email@example.com> Cc: Arjan van de Ven <firstname.lastname@example.org> Cc: Cong Wang <email@example.com> Cc: Michal Marek <firstname.lastname@example.org> Signed-off-by: Andrew Morton <email@example.com> Signed-off-by: Michal Marek <firstname.lastname@example.org>
- Loading branch information...