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

2020-11-09 Thread Rafael J. Wysocki
On Sat, Nov 7, 2020 at 9:49 AM 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 v2] 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