From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754666AbdLFDhX (ORCPT ); Tue, 5 Dec 2017 22:37:23 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:43347 "EHLO out4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754406AbdLFDhW (ORCPT ); Tue, 5 Dec 2017 22:37:22 -0500 X-ME-Sender: From: "Tobin C. Harding" To: Joe Perches Cc: "Tobin C. Harding" , Andy Whitcroft , linux-kernel@vger.kernel.org Subject: [PATCH v2 0/3] checkpatch: warn for use of %px Date: Wed, 6 Dec 2017 14:37:05 +1100 Message-Id: <1512531428-3592-1-git-send-email-me@tobin.cc> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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