From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5FD54C07E96 for ; Sun, 11 Jul 2021 23:01:21 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id CFFB360FEB for ; Sun, 11 Jul 2021 23:01:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CFFB360FEB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AA8DC82C66; Mon, 12 Jul 2021 01:01:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (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=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="gDx2Hrst"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 101D982C49; Mon, 12 Jul 2021 01:00:41 +0200 (CEST) Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) (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 3C3AA82C1C for ; Mon, 12 Jul 2021 01:00:37 +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@google.com Received: by mail-wr1-x42e.google.com with SMTP id t5so8620494wrw.12 for ; Sun, 11 Jul 2021 16:00:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:from:in-reply-to:references:date:message-id :subject:to:cc; bh=1Po34uKUZtYX+df9Iyg6uVnqxjIjVZsghw3F9DdXDZ8=; b=gDx2Hrst4VckNYDbQLAizM549mTaRAqH39EA9D9WD/c/Lt0FZuh4k038OAekCckdjG TqWo1xpvzBn+tbUGigYfiaOq0xNnsh7YkTr1RuHexyB1rw2yz1OC9eTTVFxjV544cX3R kDqdo1DBZwW1uVhynbioQlZ/2zeKtQWzZtZyM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:in-reply-to:references :date:message-id:subject:to:cc; bh=1Po34uKUZtYX+df9Iyg6uVnqxjIjVZsghw3F9DdXDZ8=; b=FFBlGPrJMUg4xWU6xFtO3mlgluZWppcexLaxhcl59wOn6BMz2ZVglgFbGbiXEd54AR tMxGLh6VqoexCVxhOFWfTiKqGOKXwT949jEyAbwqCXYe5Eoe9cKNcIe7dKw14F9Xw4I2 rSvBvq6fGFo7exLzfhUkDbScJ8r7SFB5miS+/5anEDaxqzE9EvZfI4IKdEIzRtznCDeJ XK9YYruAqcXUQvMwtLvoQFeLVAbta5KoI4HhtKyddK5fmDyg9fRIVDAARVT9VwABwGyS I6agnL0ut3NlGVG1BzHBcjnNoguf5Las7a1vntc+tro4OcasmYp3ZTRy8QFnWqD8rfuo oMBg== X-Gm-Message-State: AOAM531u9nrKvQuoIOWgbwjeHkeF9Ds49+ZUM4Pdg07oW3uwmRab4KfH 5snfb6wTUtKMZuTvAKsgE4lyFcYlJC71UbutSNJm7A== X-Google-Smtp-Source: ABdhPJyLkTm8wRBPy/nk8KrzAgkFQB8oYqwj6KFVfaiSdvS1tPUFGmTUWymVw3SoMcvmO4CuICy/kRqWDrbSCNNuhyc= X-Received: by 2002:adf:f8c5:: with SMTP id f5mr54821598wrq.420.1626044436583; Sun, 11 Jul 2021 16:00:36 -0700 (PDT) Received: from 480794996271 named unknown by gmailapi.google.com with HTTPREST; Sun, 11 Jul 2021 16:00:35 -0700 MIME-Version: 1.0 From: Simon Glass In-Reply-To: References: <20210704181950.1917106-1-sjg@chromium.org> <20210704181950.1917106-4-sjg@chromium.org> Date: Sun, 11 Jul 2021 16:00:35 -0700 X-Google-Sender-Auth: 2dqaAFwO-8nIYIb9V9tN-Yti7PA Message-ID: Subject: Re: [PATCH 3/8] dtoc: Allow multiple warnings for a driver To: Walter Lozano Cc: Johan Jonker , Simon Glass , U-Boot Mailing List Content-Type: text/plain; charset="UTF-8" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean Hi Simon, On 7/4/21 3:19 PM, Simon Glass wrote: > At present we show when a driver is missing but this is not always that > useful. There are various reasons way a driver may appear to be missing, Did you mean "why" instead of "way"? > such as a parse error in the source code or a missing field in the driver > declaration. > > Update the implementation to record all warnings for each driver, showing > only those which relate to drivers that are actually used. This avoids > spamming the user with warnings related to a driver for a different board. > > Signed-off-by: Simon Glass > --- > > tools/dtoc/src_scan.py | 24 ++++++++++++++++++++---- > 1 file changed, 20 insertions(+), 4 deletions(-) Reviewed-by: Walter Lozano Thank you, it is indeed something worth to be added! Walter > Applied to u-boot-dm, thanks!