Justin Stitt d618072d86 mei: me: fix clang -Wformat warning
When building with Clang we encounter the following warning:
| drivers/misc/mei/hw-me.c:564:44: error: format specifies type 'unsigned
| short' but the argument has type 'int' [-Werror,-Wformat]
| dev_dbg(dev->dev, "empty slots = %hu.\n", empty_slots);

The format specifier used is `%hu` which specifies an unsigned short,
however, empty_slots is an int -- hence the warning.

Link: https://github.com/ClangBuiltLinux/linux/issues/378
Tested-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Justin Stitt <justinstitt@google.com>
Link: https://lore.kernel.org/r/20220708203549.3834790-1-justinstitt@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-07-14 16:53:38 +02:00
..
2021-11-26 18:31:46 +02:00
2022-02-25 12:14:01 +01:00
2022-04-21 11:34:20 -07:00
2021-02-06 15:48:11 +01:00
2022-07-14 16:53:38 +02:00
2021-12-03 14:26:33 +01:00
2021-11-26 18:31:46 +02:00
2022-02-25 12:14:01 +01:00
2021-06-22 12:40:31 +02:00
2022-06-10 15:39:24 +02:00