In combination with Wextra, Wall enables additional checks such as Wmissing-braces.
Signed-off-by: Andrea Bastoni <[email protected]> --- configs/Makefile | 2 +- configs/arm64/k3-j7200-evm-linux-demo.c | 2 +- configs/arm64/k3-j7200-evm.c | 2 +- configs/arm64/k3-j721e-evm-linux-demo.c | 2 +- configs/arm64/k3-j721e-evm.c | 12 +++++++----- 5 files changed, 11 insertions(+), 9 deletions(-) diff --git a/configs/Makefile b/configs/Makefile index 513b0a9b..5a19621d 100644 --- a/configs/Makefile +++ b/configs/Makefile @@ -17,7 +17,7 @@ include $(ALWAYS_COMPAT_MK) LINUXINCLUDE := -I$(src)/../hypervisor/arch/$(SRCARCH)/include \ -I$(src)/../hypervisor/include \ -I$(src)/../include -KBUILD_CFLAGS := -Werror -Wextra -D__LINUX_COMPILER_TYPES_H +KBUILD_CFLAGS := -Werror -Wall -Wextra -D__LINUX_COMPILER_TYPES_H ifneq ($(wildcard $(obj)/../include/jailhouse/config.h),) KBUILD_CFLAGS += -include $(obj)/../include/jailhouse/config.h diff --git a/configs/arm64/k3-j7200-evm-linux-demo.c b/configs/arm64/k3-j7200-evm-linux-demo.c index ace9cd3a..1fc98bf8 100644 --- a/configs/arm64/k3-j7200-evm-linux-demo.c +++ b/configs/arm64/k3-j7200-evm-linux-demo.c @@ -233,6 +233,6 @@ struct { .stream_ids = { /* Non PCIe peripherals */ - 0x0003 + {0x0003}, }, }; diff --git a/configs/arm64/k3-j7200-evm.c b/configs/arm64/k3-j7200-evm.c index d0c8aee3..cc452157 100644 --- a/configs/arm64/k3-j7200-evm.c +++ b/configs/arm64/k3-j7200-evm.c @@ -354,6 +354,6 @@ struct { .stream_ids = { /* Non PCIe peripherals */ - 0x0002, + {0x0002}, }, }; diff --git a/configs/arm64/k3-j721e-evm-linux-demo.c b/configs/arm64/k3-j721e-evm-linux-demo.c index 1b8b3c4c..af6a5a2f 100644 --- a/configs/arm64/k3-j721e-evm-linux-demo.c +++ b/configs/arm64/k3-j721e-evm-linux-demo.c @@ -261,6 +261,6 @@ struct { .stream_ids = { /* Non PCIe peripherals */ - 0x0003, 0xf003, + {0x0003}, {0xf003}, }, }; diff --git a/configs/arm64/k3-j721e-evm.c b/configs/arm64/k3-j721e-evm.c index aa5b47a9..19f9d967 100644 --- a/configs/arm64/k3-j721e-evm.c +++ b/configs/arm64/k3-j721e-evm.c @@ -402,13 +402,15 @@ struct { .stream_ids = { /* Non PCIe peripherals */ - 0x0002, 0xf002, + {0x0002}, {0xf002}, /* PCI1 */ - 0x0100, 0x0101, 0x0102, 0x0103, 0x0104, 0x0105, 0x0106, 0x0107, - 0x0108, 0x0109, 0x010a, 0x010b, 0x010c, 0x010d, 0x010e, 0x010f, + {0x0100}, {0x0101}, {0x0102}, {0x0103}, + {0x0104}, {0x0105}, {0x0106}, {0x0107}, + {0x0108}, {0x0109}, {0x010a}, {0x010b}, + {0x010c}, {0x010d}, {0x010e}, {0x010f}, /* PCI2 */ - 0x4100, 0x4101, 0x4102, 0x4103, 0x4104, 0x4105, + {0x4100}, {0x4101}, {0x4102}, {0x4103}, {0x4104}, {0x4105}, /* PCI3 */ - 0x8100, 0x8101, 0x8102, 0x8103, 0x8104, 0x8105, + {0x8100}, {0x8101}, {0x8102}, {0x8103}, {0x8104}, {0x8105}, }, }; -- 2.29.2 -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jailhouse-dev/20201127114140.37179-2-andrea.bastoni%40tum.de.
