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 2D8D1C6FD1D for ; Sat, 1 Apr 2023 08:04:37 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8A5BC85FF7; Sat, 1 Apr 2023 10:04:34 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=canonical.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.b="wcbcsnBZ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 224418600A; Sat, 1 Apr 2023 10:04:32 +0200 (CEST) Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 5981085FF7 for ; Sat, 1 Apr 2023 10:04:29 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=canonical.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=heinrich.schuchardt@canonical.com Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 3D4933F236 for ; Sat, 1 Apr 2023 08:04:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1680336265; bh=ejBcLvJdK2Ope+1BxLgFllxeziSWVwlJ7U6dGB5/jP4=; h=Message-ID:Date:MIME-Version:To:Cc:From:Subject:Content-Type; b=wcbcsnBZ65nwC2e1XIjqiCctFN6ghB4EzJN/RAoq/Htq6X/InHMm10zSGJxe16eAZ K0IPiqIb5fwzKZfaCoi/8BhuRMmzfsDHno/5zh7c6+1KRmzQs91QrPnYMNNpfi5N47 gXOZaEy1jOyCgSypPl3h0f9lfZ2oCZxB4yBXG5S2+LP7MRqSK7Y7ZfMDOdllTW9CHC pGJvg4NI4Ikowo1JMQr4mT4IJ1ebGyoNF/HMXTuVXQiNt8kInkpwQAMwERq5Bki+0O aYWqwamUyyPO13sGO3H+5J/W5fB8Qs2k951NHhUSf8uH5pcD37fiQuTUdIikOrN8hb eobVPCsGSIgWQ== Received: by mail-wm1-f72.google.com with SMTP id iv18-20020a05600c549200b003ee21220fccso12118436wmb.1 for ; Sat, 01 Apr 2023 01:04:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680336264; h=content-transfer-encoding:subject:from:cc:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=ejBcLvJdK2Ope+1BxLgFllxeziSWVwlJ7U6dGB5/jP4=; b=Ybrl6lib+p8hmYDcEQkmg5IeLvWxaT7Ig7tXQVzNNKnAr/lYLNqFPKsX3rgVLyq4e2 xSnR63SYYMQctwdxXAEagRPX87ykZ9kws2fjFB6aq5HaUCaB2abS3WFH5WZOje9Nkems Yq3TuN5vk24zR9XfKCTXpgY9UkwtiMikRyo+7M+mAbdwBuWxezOS3cOBsj2xCMckwrTC TdCJHrElTlNf2XmVJR5yd6eIY86BUymc+46hNwhR3/+6WxZZ/8jRUqHMEnv1FodHAWE2 9xzkfZDK9ICXykieuIMv9PfLIlhgv9S+NscgsdjAHpX0svlKQmHhPGXO/RAUtH8XfwVC o2eA== X-Gm-Message-State: AAQBX9em1Z0fLCzfCF1TepGXZ/Vai/ziOPabAdfyIBRqXxD/2vhOXXoS uHlVpxC3EInJOTH/BMqiAJW5xUQNnjmLM6caWZbb+ABNjHAQwoU05HMjg245+WddXT/YkxMQLSN pHfKfbeWx5Ze3hGGnGhyIx6CP/233IjA= X-Received: by 2002:a05:600c:21c2:b0:3f0:41b3:9256 with SMTP id x2-20020a05600c21c200b003f041b39256mr3838438wmj.10.1680336264203; Sat, 01 Apr 2023 01:04:24 -0700 (PDT) X-Google-Smtp-Source: AKy350YtHMkUmYuquGbxwpPWgvXhCeqaLMYImdVF3+2daUOZXeobWHuHGFnOxo6iPOZaYjg4XQFlPg== X-Received: by 2002:a05:600c:21c2:b0:3f0:41b3:9256 with SMTP id x2-20020a05600c21c200b003f041b39256mr3838414wmj.10.1680336263841; Sat, 01 Apr 2023 01:04:23 -0700 (PDT) Received: from [192.168.123.94] (ip-088-152-145-137.um26.pools.vodafone-ip.de. [88.152.145.137]) by smtp.gmail.com with ESMTPSA id k20-20020a7bc414000000b003ee10fb56ebsm5279789wmi.9.2023.04.01.01.04.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 01 Apr 2023 01:04:23 -0700 (PDT) Message-ID: Date: Sat, 1 Apr 2023 10:04:23 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Content-Language: en-US To: Simon Glass Cc: Ilias Apalodimas , U-Boot Mailing List From: Heinrich Schuchardt Subject: BUG: cmd/tmp.c missing fallthrough or break Content-Type: text/plain; charset=UTF-8; format=flowed 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.8 at phobos.denx.de X-Virus-Status: Clean Hello Simon, please, have a look and this error: cmd/tpm_test.c:473:25: note: in expansion of macro ‘assert’ 473 | assert(i >= TPM_MAX_NV_WRITES_NOOWNER); | ^~~~~~ cmd/tpm_test.c:474:17: note: here 474 | default: | ^~~~~~~ I am not sure if you forgot a break or a fallthrough. Best regards Heinrich