Messages in this thread | | | From | "Tobin C. Harding" <> | Subject | [PATCH v2 0/3] checkpatch: warn for use of %px | Date | Wed, 6 Dec 2017 14:37:05 +1100 |
| |
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
| |