Nick Desaulniers 6b3d787477 ACPI: GED: fix -Wformat
commit 9debfb81e7654fe7388a49f45bc4d789b94c1103 upstream.

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_EDGE_SENSITIVE ? 'E' : 'L', gsi);
                                            ^~~

Link: https://github.com/ClangBuiltLinux/linux/issues/378
Fixes: ea6f3af4c5e6 ("ACPI: GED: add support for _Exx / _Lxx handler methods")
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-11-22 09:58:15 +01:00
..
2020-04-02 17:20:26 +02:00
2016-04-27 23:42:57 +02:00
2016-11-11 23:23:02 +01:00
2016-01-04 22:10:30 +01:00
2020-11-22 09:58:15 +01:00
2016-10-10 02:20:43 +02:00
2016-10-03 20:11:49 -07:00
2019-12-21 10:42:05 +01:00
2020-06-30 15:38:44 -04:00
2016-07-19 12:32:39 -07:00