Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp95943pxb; Thu, 21 Jan 2021 02:08:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJz7P6JgJvAw0SGPCxSVD9WSq9hdI9a6SJD4AwLJ8WQGc0noCD4cHt1weIwq7PoKEddOyZSH X-Received: by 2002:a50:aac8:: with SMTP id r8mr10254782edc.9.1611223734874; Thu, 21 Jan 2021 02:08:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611223734; cv=none; d=google.com; s=arc-20160816; b=nDRUQ9A12rfy3Cu9RJ3IB9uL+Ty7ZdEJSD6kT1a+pqdtIExg5MXe98XzPZh2tsOKDp tDQte+H3nncYgfUkt1W+H8yKc9ehkZDJIAWstymk6FTk4ic4xpw08hdsILC+xuCVROit jaLetJnNfjIAiZlnWFWyPtXrAol+83Kg/5dgmjZTiaKGVikbqFcgFESEBjsnTmjA4pA2 CKXYTVtmswnQPmVyAvdnTrZ7VQviU2frAisHYgE3CdI36c84ttYA6RH/ysMlnPWeO4jX CrI5lX7bNq3J5J2SUxIPTxjtDCq7lxqIqJ1fafewgeOiBb37vD9zd7oypuKsuTxbvL4Y gQiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:dkim-signature:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=ecknqWhuJL3W8p6oQ0zL/CmHsHXhDRwgK1lykE3RJyQ=; b=d2H6qUK+jPv5GmyiX1nCZ+YwWf0+3qZEDPjBTvqFxTQzRVI5/fBFwEqcgjdA6GrzN2 8dUS0VpWAcmNL5OTr6lW4QDrRJKEdJkNNmz5hWCTfvAk3vKnfttyPqlu+17bAfAxyo2k Bz/KHypSR9pXgtxrUr2cLXDKeLjrFdk+YB8jX6TGPI9nJRCH5Lk3+cvTmAvVqDlbt8qU SXWI+Ee6DvIj/xtrr3jpGp/LkKAwuuOcyCNwR7Ze4Qz/qCxhfd89n27LzPPAdwQrjO5f hSy5sZWPx2JhzO1Uiv6Tpddtey1yrBtyLn/CB3dlOTEDl49PD8sxQGy6BtHv99/rlcaq 2N+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=hQ9ZqKLY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id yw7si1540165ejb.453.2021.01.21.02.08.30; Thu, 21 Jan 2021 02:08:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=hQ9ZqKLY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727900AbhAUKHy (ORCPT + 99 others); Thu, 21 Jan 2021 05:07:54 -0500 Received: from hqnvemgate24.nvidia.com ([216.228.121.143]:11942 "EHLO hqnvemgate24.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728760AbhAUKH2 (ORCPT ); Thu, 21 Jan 2021 05:07:28 -0500 Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Thu, 21 Jan 2021 02:06:19 -0800 Received: from [10.26.72.207] (172.20.145.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 21 Jan 2021 10:06:14 +0000 Subject: Re: [PATCH] ACPICA: fix -Wfallthrough To: Nick Desaulniers , Robert Moore , Erik Kaneda , "Rafael J . Wysocki" , "Gustavo A . R . Silva" CC: , Len Brown , , , , linux-tegra References: <20201111021131.822867-1-ndesaulniers@google.com> From: Jon Hunter Message-ID: <031790d7-ee26-f919-9338-b135e9b94635@nvidia.com> Date: Thu, 21 Jan 2021 10:06:12 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20201111021131.822867-1-ndesaulniers@google.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Originating-IP: [172.20.145.6] X-ClientProxiedBy: HQMAIL111.nvidia.com (172.20.187.18) To HQMAIL107.nvidia.com (172.20.187.13) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1611223579; bh=ecknqWhuJL3W8p6oQ0zL/CmHsHXhDRwgK1lykE3RJyQ=; h=Subject:To:CC:References:From:Message-ID:Date:User-Agent: MIME-Version:In-Reply-To:Content-Type:Content-Language: Content-Transfer-Encoding:X-Originating-IP:X-ClientProxiedBy; b=hQ9ZqKLYBvSdVpq/QxZyE+ROLV9WzIzI1NNn1H29M+eRY+CERXSsX24rDtifxNsGx gJ2UWTvPfHxQPkxRszZlLARzfL9qwIiYhq5F+2t79hEujT/T5wE8Yp1RaXH2zb0fr6 KHps9XcTapcsTT97zKDniQRCU4yvcwZ70NNbSARxqEtCZ24LK8kFgvHFFYcec4iQiu K6lnTBYBrtu4Nzw/d/leu7Jb6yGNZVVUz/AaQE498WuZTFrBTbJAIJhmhvshqTfCI4 C39BAL/NroKKXoA1IGLpxQLmfT0xYmlLYnLvjg2yPkM/dWCj7zdbg5clw5OrAMpJ7S lM34IV6mGryeA== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/11/2020 02:11, Nick Desaulniers wrote: > The "fallthrough" pseudo-keyword was added as a portable way to denote > intentional fallthrough. This code seemed to be using a mix of > fallthrough comments that GCC recognizes, and some kind of lint marker. > I'm guessing that linter hasn't been run in a while from the mixed use > of the marker vs comments. >=20 > Signed-off-by: Nick Desaulniers I know this is not the exact version that was merged, I can't find it on the list, but looks like the version that was merged [0], is causing build errors with older toolchains (GCC v6) ... /dvs/git/dirty/git-master_l4t-upstream/kernel/drivers/acpi/acpica/dscontrol= .c: In function =E2=80=98acpi_ds_exec_begin_control_op=E2=80=99: /dvs/git/dirty/git-master_l4t-upstream/kernel/drivers/acpi/acpica/dscontrol= .c:65:3: error: =E2=80=98ACPI_FALLTHROUGH=E2=80=99 undeclared (first use in= this function) ACPI_FALLTHROUGH; ^~~~~~~~~~~~~~~~ /dvs/git/dirty/git-master_l4t-upstream/kernel/drivers/acpi/acpica/dscontrol= .c:65:3: note: each undeclared identifier is reported only once for each fu= nction it appears in /dvs/git/dirty/git-master_l4t-upstream/kernel/scripts/Makefile.build:287: r= ecipe for target 'drivers/acpi/acpica/dscontrol.o' failed Cheers Jon [0] https://github.com/acpica/acpica/commit/4b9135f5 =20 --=20 nvpublic