Re: [PATCH] ACPI: GED: fix -Wformat

2020-11-07 Thread Ard Biesheuvel
On Sat, 7 Nov 2020 at 09:34, Nick Desaulniers wrote: > > Clang is more aggressive about -Wformat warnings when the format flag > specifies a type smaller than the parameter. It turns out that gsi is an > int. Fixes: > > drivers/acpi/evged.c:105:48: warning: format specifies type 'unsigned > char'

[PATCH] ACPI: GED: fix -Wformat

2020-11-07 Thread Nick Desaulniers
Clang is more aggressive about -Wformat warnings when the format flag specifies a type smaller than the parameter. It turns out that gsi is an int. Fixes: drivers/acpi/evged.c:105:48: warning: format specifies type 'unsigned char' but the argument has type 'unsigned int' [-Wformat] trigger == ACPI