aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.modinst
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-08-06 16:11:05 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-06 18:01:28 -0700
commitd752fcc88b7dddc0bbe6d43b658b306a9d7d1dae (patch)
tree7499c60afad317d6fce1bdb9e0799a40b9b7c11a /scripts/Makefile.modinst
parentcheckpatch: add an index variable for fixed lines (diff)
downloadlinux-dev-d752fcc88b7dddc0bbe6d43b658b306a9d7d1dae.tar.xz
linux-dev-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/Makefile.modinst')
0 files changed, 0 insertions, 0 deletions