]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: use a more consistent function argument style
authorJoe Perches <joe@perches.com>
Thu, 3 Apr 2014 21:49:19 +0000 (14:49 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 3 Apr 2014 23:21:13 +0000 (16:21 -0700)
commita8330c1dd7e20078d2be813824578aad64f83de8
treedd79c29439d6351b9ab4117fdeb13814cd917094
parentdeb2ee6e4609728dd4b48d4c3775cf73d8d6b8e4
checkpatch: use a more consistent function argument style

Instead of array indexing $_, use temporary variables like all the other
subroutines in the script use.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl