mirror of
https://github.com/torvalds/linux.git
synced 2024-12-18 00:53:40 +00:00
d618072d86
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> |
||
---|---|---|
.. | ||
hdcp | ||
pxp | ||
bus-fixup.c | ||
bus.c | ||
client.c | ||
client.h | ||
debugfs.c | ||
dma-ring.c | ||
gsc-me.c | ||
hbm.c | ||
hbm.h | ||
hw-me-regs.h | ||
hw-me.c | ||
hw-me.h | ||
hw-txe-regs.h | ||
hw-txe.c | ||
hw-txe.h | ||
hw.h | ||
init.c | ||
interrupt.c | ||
Kconfig | ||
main.c | ||
Makefile | ||
mei_dev.h | ||
mei-trace.c | ||
mei-trace.h | ||
pci-me.c | ||
pci-txe.c |