[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <031790d7-ee26-f919-9338-b135e9b94635@nvidia.com>
Date: Thu, 21 Jan 2021 10:06:12 +0000
From: Jon Hunter <jonathanh@...dia.com>
To: Nick Desaulniers <ndesaulniers@...gle.com>,
Robert Moore <robert.moore@...el.com>,
Erik Kaneda <erik.kaneda@...el.com>,
"Rafael J . Wysocki" <rafael.j.wysocki@...el.com>,
"Gustavo A . R . Silva" <gustavoars@...nel.org>
CC: <clang-built-linux@...glegroups.com>, Len Brown <lenb@...nel.org>,
<linux-acpi@...r.kernel.org>, <devel@...ica.org>,
<linux-kernel@...r.kernel.org>,
linux-tegra <linux-tegra@...r.kernel.org>
Subject: Re: [PATCH] ACPICA: fix -Wfallthrough
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.
>
> Signed-off-by: Nick Desaulniers <ndesaulniers@...gle.com>
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 ‘acpi_ds_exec_begin_control_op’:
/dvs/git/dirty/git-master_l4t-upstream/kernel/drivers/acpi/acpica/dscontrol.c:65:3: error: ‘ACPI_FALLTHROUGH’ 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 function it appears in
/dvs/git/dirty/git-master_l4t-upstream/kernel/scripts/Makefile.build:287: recipe for target 'drivers/acpi/acpica/dscontrol.o' failed
Cheers
Jon
[0] https://github.com/acpica/acpica/commit/4b9135f5
--
nvpublic
Powered by blists - more mailing lists