[PATCH v2 0/3] checkpatch: warn for use of %px

From: Tobin C. Harding
Date: Tue Dec 05 2017 - 22:37:28 EST


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