]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: add an index variable for fixed lines
authorJoe Perches <joe@perches.com>
Wed, 6 Aug 2014 23:11:03 +0000 (16:11 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 7 Aug 2014 01:01:28 +0000 (18:01 -0700)
commitde8dbf5f94ac47438ea19d5f7c26d37769282ed4
tree27bd72733caf8ea7af51659780d461ddeba79b1a
parent434f0ebeb859b6c18f2f48ab6fd60e6b0f36ba77
checkpatch: add an index variable for fixed lines

Make the fix code a bit easier to read.

This should also start to allow an easier mechanism to insert/delete
lines eventually too.

Signed-off-by: Joe Perches <joe@perches.com>
Cc: Andy Whitcroft <apw@canonical.com>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Josh Triplett <josh@joshtriplett.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl