From patchwork Thu Nov 21 14:32:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Byrne X-Patchwork-Id: 1198984 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=quarantine dis=none) header.from=origamienergy.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=origamienergy.com header.i=@origamienergy.com header.b="TeDJJEJV"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amazonses.com header.i=@amazonses.com header.b="Qw2Wfxlr"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 47Jhqf30pFz9sPT for ; Fri, 22 Nov 2019 01:32:58 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id C993AC21FA2; Thu, 21 Nov 2019 14:32:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 988CBC21DFD; Thu, 21 Nov 2019 14:32:49 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 0EB5BC21E35; Thu, 21 Nov 2019 14:32:47 +0000 (UTC) Received: from a6-190.smtp-out.eu-west-1.amazonses.com (a6-190.smtp-out.eu-west-1.amazonses.com [54.240.6.190]) by lists.denx.de (Postfix) with ESMTPS id DB2E5C21DFD for ; Thu, 21 Nov 2019 14:32:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=awgt3ic55kqhwizgro5hhdlz56bi7lbf; d=origamienergy.com; t=1574346766; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Transfer-Encoding; bh=boJ+ZHhDwc3hV+ImxvTrfGEC0dm8m1L2DX9csMBree4=; b=TeDJJEJVnNDg/xa7Mnx9HwrxV6qMloxB/ol4LgrKN1aAHEbNUwmxKdZKex0zRl19 whGSItwSIRfY24l9Nls8S26WeTx3lFULVlsMoUzHkLeLUdIlodGdqdfIlNnF0aVfzDt DYvJrfP4H+G8vPRhrcQS+xpWtiqt2qPUahBQveco= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=ihchhvubuqgjsxyuhssfvqohv7z3u4hn; d=amazonses.com; t=1574346766; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Transfer-Encoding:Feedback-ID; bh=boJ+ZHhDwc3hV+ImxvTrfGEC0dm8m1L2DX9csMBree4=; b=Qw2Wfxlrr4pqhclpDKW0C6yhbztfL6udfXwp9I7ZsT7YScsSjly33FuFnG6gubty otApT72Zcze/i2dH4xi3iXgO84ms4Xtw5bqZ9IsH+MkMK99Yzs2lUlOE0nzmMK7gwda XJs4xxFHXS9zzSeaA0wnxFSzcjWrYr4GEcYU6Tgw= From: James Byrne To: u-boot@lists.denx.de Date: Thu, 21 Nov 2019 14:32:46 +0000 Message-ID: <0102016e8e6136ac-bac25e80-77ca-4f33-b372-d724e95ad241-000000@eu-west-1.amazonses.com> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 X-SES-Outgoing: 2019.11.21-54.240.6.190 Feedback-ID: 1.eu-west-1.sQ65CuNSNkrvjFrT7j7oeWmhxZgivYoP5c3BHSC7Qc8=:AmazonSES Cc: Heinrich Schuchardt , Tom Rini Subject: [U-Boot] [PATCH v2 1/3] tools: checkpatch: Restore 'debug' and 'printf' to logFunctions list X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" The 'debug' and 'printf' functions were previously added to the list of logFunctions in commit 0cab42110dbf ("checkpatch.pl: Add 'debug' to the list of logFunctions") and commit 397bfd4642c1 ("checkpatch.pl: Add 'printf' to logFunctions") but these additions were lost when newer versions of checkpatch were pulled in from the upstream Linux kernel version. This restores them so that you don't end up in a situation where checkpatch will give a warning for "quoted string split across lines" which you cannot fix without getting a warning for "line over 80 characters" instead. Signed-off-by: James Byrne --- Changes in v2: None scripts/checkpatch.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 6fcc66afb0..c2641bc995 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -464,6 +464,8 @@ our $logFunctions = qr{(?x: TP_printk| WARN(?:_RATELIMIT|_ONCE|)| panic| + debug| + printf| MODULE_[A-Z_]+| seq_vprintf|seq_printf|seq_puts )};