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 EC439C433EF for ; Fri, 1 Jul 2022 20:24:32 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 747AB8448A; Fri, 1 Jul 2022 22:24:30 +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="jNMa3Xqm"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 323178444D; Fri, 1 Jul 2022 22:24:29 +0200 (CEST) Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) (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 493DB8444D for ; Fri, 1 Jul 2022 22:24:26 +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-pl1-x633.google.com with SMTP id q18so3332902pld.13 for ; Fri, 01 Jul 2022 13:24:26 -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=USGpaSaw0ihYhW6TjEL8WDe61BjzhCcwQaQjZUMiZpU=; b=jNMa3Xqm5YsW+axs9vdv0wm2PxSXIsVN06PTus8Odcoy+tvdgtWR5UoOMsdWOkTZfW 2gw2v5g6HAHTPVZ8Z2D2N9BP8+JaWbF+b+Myu2K5b6LME3TUeD2+MjVU1HmOlkf8GsT4 KCyib6smUybXua2M5o0Aw0l57e1lfjKMsLKSw= 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=USGpaSaw0ihYhW6TjEL8WDe61BjzhCcwQaQjZUMiZpU=; b=YJIEZEN+Ei0VnMgTeKwlzlFMVidpXsib4K8KCd9iuZ9cp500+qCiL6E0VQu4wadJlH CMZ8P2C0ZNDrwTgp0gf9jW35+SSJ0Dp0y5FOhwLFsOz6rZjALWvTqI9Plkc5v9kVZRRm wOcUWQT5b/gSSmVEPCu4eFn8v/Z53cH3gu83018sTh95OAUHyQu0d/JtS1iXedbk3nkH VdBAZ+tPhpVeARzeqgvp5wdehOuewBGPyrxFoIAFxymrf7hiIkGBa9VV+EVaxeBo96GX h0YCgOIUK+aZOYhyVRhOAT9xZcnOAKHzohFGBBdosdo+XcKmU83ZPDeaPbIfdESqgECT 0ibw== X-Gm-Message-State: AJIora8kkuLhRuHL9mtQVnWTWvU6iRPc/ojNWo/A+JtGBsDrfdvmfBbQ p3qZ/UN0GEim1RIVd/lFb1od5g== X-Google-Smtp-Source: AGRyM1u2z8v0hswK2y1c8uSoGzxh7oKOXKnrbp3qYDr7TgUxcpP+CpsKVYwer0CprZ8PM6BXZsEFOw== X-Received: by 2002:a17:903:230e:b0:16a:1b3f:f75c with SMTP id d14-20020a170903230e00b0016a1b3ff75cmr21771789plh.160.1656707064499; Fri, 01 Jul 2022 13:24:24 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:202:201:7ff8:1e17:ae28:6bf8]) by smtp.gmail.com with ESMTPSA id p3-20020a170902e74300b00168a216f629sm4095484plf.11.2022.07.01.13.24.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Jul 2022 13:24:24 -0700 (PDT) From: Douglas Anderson To: sjg@chromium.org Cc: briannorris@chromium.org, mka@chromium.org, amstan@chromium.org, Douglas Anderson , u-boot@lists.denx.de Subject: [PATCH v2 0/6] patman: Small fixes plus remove --no-tree from checkpatch for linux Date: Fri, 1 Jul 2022 13:23:56 -0700 Message-Id: <20220701202402.3551274-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 v2: - Fix doc string for --ignore-bad-tags - Make comment about parsing three times less nonsensical. Douglas Anderson (6): patman: Fix updating argument defaults from settings 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 | 46 ++++++++++++----------- 4 files changed, 80 insertions(+), 61 deletions(-) -- 2.37.0.rc0.161.g10f37bed90-goog