RE: [PATCH] ACPICA: Use ACPI_FALLTHROUGH

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: Wei Ming Chen <jj251510319013@xxxxxxxxx>
> Sent: Wednesday, May 12, 2021 6:50 AM
> To: linux-kernel@xxxxxxxxxxxxxxx
> Cc: Kaneda, Erik <erik.kaneda@xxxxxxxxx>; devel@xxxxxxxxxx; linux-
> acpi@xxxxxxxxxxxxxxx; Wei Ming Chen <jj251510319013@xxxxxxxxx>
> Subject: [PATCH] ACPICA: Use ACPI_FALLTHROUGH
> 
> Replace /* FALLTHROUGH */ comment with ACPI_FALLTHROUGH
> 
> Signed-off-by: Wei Ming Chen <jj251510319013@xxxxxxxxx>
> ---
>  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 





[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux