diff options
author | Joe Perches <joe@perches.com> | 2014-08-06 16:11:05 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-06 18:01:28 -0700 |
commit | d752fcc88b7dddc0bbe6d43b658b306a9d7d1dae (patch) | |
tree | 7499c60afad317d6fce1bdb9e0799a40b9b7c11a /scripts/rt-tester | |
parent | 194f66fc9567367b3fa2dcbc1b87b091330ef186 (diff) | |
download | linux-d752fcc88b7dddc0bbe6d43b658b306a9d7d1dae.tar.gz linux-d752fcc88b7dddc0bbe6d43b658b306a9d7d1dae.tar.bz2 linux-d752fcc88b7dddc0bbe6d43b658b306a9d7d1dae.zip |
checkpatch: add ability to insert and delete lines to patch/file
This can be valuable to insert or delete blank lines as well as fix
misplaced brace or else uses.
Store indexes of lines to be added/deleted and the new lines.
When creating the --fix file, insert or delete the appropriate lines and
update the patch range information.
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>
Diffstat (limited to 'scripts/rt-tester')
0 files changed, 0 insertions, 0 deletions