linux-stable/drivers/misc/mei
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
..
hdcp USB / Thunderbolt changes for 5.19-rc1 2022-06-03 11:17:49 -07:00
pxp misc/mei: Add NULL check to component match callback functions 2022-04-29 12:17:22 +03:00
Kconfig mei: add support for graphics system controller (gsc) devices 2022-04-21 11:34:09 -07:00
Makefile mei: add support for graphics system controller (gsc) devices 2022-04-21 11:34:09 -07:00
bus-fixup.c mei: gsc: retrieve the firmware version 2022-04-21 11:34:32 -07:00
bus.c mei: bus: add client dma interface 2021-11-26 18:31:46 +02:00
client.c mei: me: avoid link reset on shutdown 2022-02-25 12:14:01 +01:00
client.h mei: constify passed buffers and structures 2021-07-29 17:08:04 +02:00
debugfs.c mei: add support for client dma capability 2021-02-06 15:48:11 +01:00
dma-ring.c mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
gsc-me.c mei: gsc: add runtime pm handlers 2022-04-21 11:34:20 -07:00
hbm.c mei: hbm: drop capability response on early shutdown 2022-06-10 15:39:24 +02:00
hbm.h mei: implement client dma setup. 2021-02-06 15:48:11 +01:00
hw-me-regs.h mei: me: add raptor lake point S DID 2022-06-10 15:39:24 +02:00
hw-me.c mei: me: fix clang -Wformat warning 2022-07-14 16:53:38 +02:00
hw-me.h mei: add support for graphics system controller (gsc) devices 2022-04-21 11:34:09 -07:00
hw-txe-regs.h mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
hw-txe.c mei: Remove some dead code 2021-12-03 14:26:33 +01:00
hw-txe.h mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
hw.h mei: bus: add client dma interface 2021-11-26 18:31:46 +02:00
init.c mei: do not overwrite state on hw start 2022-02-25 12:14:01 +01:00
interrupt.c mei: avoid iterator usage outside of list_for_each_entry 2022-03-18 13:48:30 +01:00
main.c mei: fix kdoc in the driver 2021-06-22 12:40:31 +02:00
mei-trace.c mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
mei-trace.h treewide: Add missing semicolons to __assign_str uses 2021-06-30 09:19:14 -04:00
mei_dev.h mei: constify passed buffers and structures 2021-07-29 17:08:04 +02:00
pci-me.c mei: me: add raptor lake point S DID 2022-06-10 15:39:24 +02:00
pci-txe.c mei: Remove usage of the deprecated "pci-dma-compat.h" API 2021-09-21 17:33:41 +02:00