From patchwork Thu Aug 10 16:31:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1819954 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=kam9umkb; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4RMCDC3NTtz1yfB for ; Fri, 11 Aug 2023 02:33:47 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7EEE2868F1; Thu, 10 Aug 2023 18:32:31 +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="kam9umkb"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D3B41868CB; Thu, 10 Aug 2023 18:32:29 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-il1-x134.google.com (mail-il1-x134.google.com [IPv6:2607:f8b0:4864:20::134]) (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 61B70868D3 for ; Thu, 10 Aug 2023 18:32:27 +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=sjg@chromium.org Received: by mail-il1-x134.google.com with SMTP id e9e14a558f8ab-34994cad252so1705295ab.2 for ; Thu, 10 Aug 2023 09:32:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1691685146; x=1692289946; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=LZjglUxs+GLXkiqHXRQai/X3R6mZ1qDzBLg/H/eIO6Q=; b=kam9umkbBj8U3/1Ht0IH+C3WU8Jp/EeSL7bUn72KR6vwvFO4pdTQ6RhphV44byLqcG AMLmCwiuEi/04/r8Ycv4+LVTvQav0Nc/kaUAstD7TWrZ4cdccC4L9X3VSBlPSMKIw3p2 ih0vjGbvLxxdBk5HatJuJsFlvOHFvbgQJ3eJo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691685146; x=1692289946; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LZjglUxs+GLXkiqHXRQai/X3R6mZ1qDzBLg/H/eIO6Q=; b=JLHL25bomp7jzMc9wUnbYsahld0P/2Gvef5sf1I3LXSZewQ4v0tGcm95UaCbHbl0FN +M4s1J/ujKpx7z5zGZVyomRcCQnIvr5cji0fruPx0SKN818fxwg8owFUhi6bpuTUeIvK 3+f2uuqqqTuapzuTNmwJ46rOw0N7wyDQw1tnc2oFDekZbcztF8hlQPIys2O++7SKdIF2 Kiuxnxk7bVrnE0cyfPyhBaaXr4ecWF8tB2qOmgH0rnkgwt/4YaDFA3L2WYen4fyES9Wp wZHP+MCJAQaH6lb2VOQ9oLje3/yg+kPlECtCN7l8gNp5YJVfhSkCVnuB/aqplCazcUEq biUw== X-Gm-Message-State: AOJu0YyZOxNU50dkD+b9xhWFNRpenayJEOLvlNKG2OM+sbyQjbKJVt6b NCWxQ+2Oi4NvqYQDBvOpF+EH5Tj3FFY9ZSVX5uY= X-Google-Smtp-Source: AGHT+IEtLqTNqifwzSId5vUbHiCvbXD+/ZFHlaYn3ycntewGW46j31GdglXSt6Z+ZTyaPZ1sv99Wnw== X-Received: by 2002:a05:6e02:1241:b0:349:77e2:1414 with SMTP id j1-20020a056e02124100b0034977e21414mr2656769ilq.32.1691685146014; Thu, 10 Aug 2023 09:32:26 -0700 (PDT) Received: from kea.bld.corp.google.com ([2620:15c:183:200:e0a2:950d:33f0:fddc]) by smtp.gmail.com with ESMTPSA id u21-20020a02aa95000000b0042b28813816sm487309jai.14.2023.08.10.09.32.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Aug 2023 09:32:25 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Masahiro Yamada , Simon Glass Subject: [PATCH 08/28] moveconfig: Drop suspicious boards Date: Thu, 10 Aug 2023 10:31:40 -0600 Message-ID: <20230810163212.2368374-9-sjg@chromium.org> X-Mailer: git-send-email 2.41.0.640.ga95def55d0-goog In-Reply-To: <20230810163212.2368374-1-sjg@chromium.org> References: <20230810163212.2368374-1-sjg@chromium.org> MIME-Version: 1.0 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.8 at phobos.denx.de X-Virus-Status: Clean This code isn't needed anymore. Drop it. Signed-off-by: Simon Glass --- tools/moveconfig.py | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/tools/moveconfig.py b/tools/moveconfig.py index 4f9bea0827f..45b86cb1db5 100755 --- a/tools/moveconfig.py +++ b/tools/moveconfig.py @@ -601,11 +601,6 @@ class Slot: """ return self.failed_boards - def get_suspicious_boards(self): - """Returns a set of boards (defconfigs) with possible misconversion. - """ - return self.suspicious_boards - self.failed_boards - class Slots: """Controller of the array of subprocess slots.""" @@ -684,25 +679,6 @@ class Slots: write_file(output_file, boards) - def show_suspicious_boards(self): - """Display all boards (defconfigs) with possible misconversion.""" - boards = set() - output_file = 'moveconfig.suspicious' - - for slot in self.slots: - boards |= slot.get_suspicious_boards() - - if boards: - boards = '\n'.join(boards) + '\n' - msg = 'The following boards might have been converted incorrectly.\n' - msg += 'It is highly recommended to check them manually:\n' - msg += boards - msg += '(the list has been saved in %s)\n' % output_file - print(color_text(self.args.color, COLOR_YELLOW, - msg), file=sys.stderr) - - write_file(output_file, boards) - class ReferenceSource: """Reference source against which original configs should be parsed.""" @@ -780,7 +756,6 @@ def move_config(toolchains, args, db_queue): print('') slots.show_failed_boards() - slots.show_suspicious_boards() def find_kconfig_rules(kconf, config, imply_config): """Check whether a config has a 'select' or 'imply' keyword