lkml.org 
[lkml]   [2021]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH] ACPICA: Use ACPI_FALLTHROUGH
Date


> -----Original Message-----
> From: Wei Ming Chen <jj251510319013@gmail.com>
> Sent: Wednesday, May 12, 2021 6:50 AM
> To: linux-kernel@vger.kernel.org
> Cc: Kaneda, Erik <erik.kaneda@intel.com>; devel@acpica.org; linux-
> acpi@vger.kernel.org; Wei Ming Chen <jj251510319013@gmail.com>
> Subject: [PATCH] ACPICA: Use ACPI_FALLTHROUGH
>
> Replace /* FALLTHROUGH */ comment with ACPI_FALLTHROUGH
>
> Signed-off-by: Wei Ming Chen <jj251510319013@gmail.com>
> ---
> drivers/acpi/acpica/utprint.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/acpi/acpica/utprint.c b/drivers/acpi/acpica/utprint.c
> index e37d612e8db5..05426596d1f4 100644
> --- a/drivers/acpi/acpica/utprint.c
> +++ b/drivers/acpi/acpica/utprint.c
> @@ -475,7 +475,7 @@ int vsnprintf(char *string, acpi_size size, const char
> *format, va_list args)
> case 'X':
>
> type |= ACPI_FORMAT_UPPER;
> - /* FALLTHROUGH */
> + ACPI_FALLTHROUGH;
>
> case 'x':
>
> --
> 2.25.1

I made a pull request here: https://github.com/acpica/acpica/pull/688
I'll circulate it to Linux upstream after we do a release (about once per month).

Thanks,
Erik

\
 
 \ /
  Last update: 2021-05-14 19:20    [W:0.075 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site