Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 71F6CC43334 for ; Thu, 7 Jul 2022 15:26:09 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 390738456E; Thu, 7 Jul 2022 17:26:07 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="G6vvZE10"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 833008456D; Thu, 7 Jul 2022 17:26:06 +0200 (CEST) Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 16F1E82142 for ; Thu, 7 Jul 2022 17:26:04 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=dianders@chromium.org Received: by mail-pg1-x52e.google.com with SMTP id bh13so13192715pgb.4 for ; Thu, 07 Jul 2022 08:26:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=qYkW0KWQ2uKLBA6RCzTvnQ2i+sLzCMnZhwM+Zd2dZgA=; b=G6vvZE1040eKFaMdnMyDMK5qqkYhIuAn0Agj/HdGe7R5LQKHQ135r7DGj121uhGzvT SKspBryMSyjWMOAQcajbbzUgO6HdU8z0znJm6qGM/C1rkTGkewsJ5Wi0Y7uXtph7moYx vL9/0yBLog+54MPyafJ1F+xyvVz5Z8lHfu4iw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=qYkW0KWQ2uKLBA6RCzTvnQ2i+sLzCMnZhwM+Zd2dZgA=; b=A35EYkzsqtMBbdoBLVF/jwCWO79i6ksijZIJzl/e8fmTz/tkset7zW+fNilFURXbdn tCrxzHUo6DLGcQnOlQROwg1ZCifuD4AtvgJDEm8QNtwB5eiwWwudfJaf4AJvKXCWoexD ZMeUivay/Uf0nng/JYyXCwm6uXwHDV3EBDUIWh4l8FgItQbhylceA2YRY8ko+K/WcpnK fgAEqpsUW6loVfA6R5XeqUixkcW6yhFKlJMIF4c/IQ93lJKa4O7duNcvBDwysxzeDnTI O0PeMO6ZNu91qEzDkVwyQR/dznrVXgAJI9mwvxlZIxm7nm40+6LMb7yqRLF3OUibuy5d AjUA== X-Gm-Message-State: AJIora8U5x2TCt53nBZDnpX5xev0K1IKAzT5Y0WEZ5o0FvdsvZEqp2qx x6v/wi7LyWW07FjjkAHzBqtNFw== X-Google-Smtp-Source: AGRyM1vYQtDwkOsvPhb8Q+4C/8RjRta7wmN1vjfA1AEVKAdFouhH61sf6O2UJspR+2QGvS+CsLBcoQ== X-Received: by 2002:a63:5a1e:0:b0:411:f24a:a78 with SMTP id o30-20020a635a1e000000b00411f24a0a78mr28537087pgb.519.1657207562369; Thu, 07 Jul 2022 08:26:02 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:202:201:2c8:c510:a4e9:5da3]) by smtp.gmail.com with ESMTPSA id na7-20020a17090b4c0700b001ecb5a6385bsm17146055pjb.36.2022.07.07.08.26.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Jul 2022 08:26:02 -0700 (PDT) From: Douglas Anderson To: sjg@chromium.org Cc: amstan@chromium.org, mka@chromium.org, Sean Anderson , briannorris@chromium.org, Douglas Anderson , u-boot@lists.denx.de Subject: [PATCH v3 0/5] patman: Small fixes plus remove --no-tree from checkpatch for linux Date: Thu, 7 Jul 2022 08:23:48 -0700 Message-Id: <20220707152353.1854462-1-dianders@chromium.org> X-Mailer: git-send-email 2.37.0.rc0.161.g10f37bed90-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean The whole point of this series is really to make it so that when we're using patman for sending Linux patches that we don't pass "--no-tree" to checkpatch. While doing that, though, I found a number of bugs including an explanation about why recent version of patman have been yelling about "tags" when used with Linux even though Linux is supposed to have "process_tags" defaulted to False. Changes in v3: - Rebased atop ("patman: Fix defaults not propagating to subparsers") Changes in v2: - Fix doc string for --ignore-bad-tags - Make comment about parsing three times less nonsensical. Douglas Anderson (5): patman: Fix implicit command inserting patman: Don't look at sys.argv when parsing settings patman: Make most bool arguments BooleanOptionalAction patman: By default don't pass "--no-tree" to checkpatch for linux patman: Take project defaults into account for --help tools/patman/checkpatch.py | 11 ++++-- tools/patman/control.py | 7 ++-- tools/patman/main.py | 77 ++++++++++++++++++++++---------------- tools/patman/settings.py | 5 ++- 4 files changed, 58 insertions(+), 42 deletions(-) -- 2.37.0.rc0.161.g10f37bed90-goog