lkml.org 
[lkml]   [2017]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/3] checkpatch: warn for use of %px
Date
Patch 1 and 2 are cleanup patches. Each adds a new subroutine to remove
duplicate code.

Patch 3: Make checkpatch emit a warning for usage of specifier %px.

The initial idea to emit the warning was given on LKML by Andrew Morton,
v1 requested permission to use 'Suggested-by' tag. This version does not
add that tag.

thanks,
Tobin.

v2:
- change new sub name stat_real() -> get_stat_real()
- add new sub get_stat_here()
- (add new sub routines as separate patches)
- add 'Acked-by' tag for Joe
- remove 'Suggested-by' tag for Andrew Morton

Tobin C. Harding (3):
checkpatch: add sub routine get_stat_real()
checkpatch: add sub routine get_stat_here()
checkpatch: warn for use of %px

scripts/checkpatch.pl | 114 +++++++++++++++++++++++++-------------------------
1 file changed, 58 insertions(+), 56 deletions(-)

--
2.7.4

\
 
 \ /
  Last update: 2017-12-06 04:38    [W:1.299 / U:0.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site