From 184c4c7797a8e1f63f6649645dd31d975e9c4d3f Mon Sep 17 00:00:00 2001 From: Alessandro Calori Date: Thu, 10 Mar 2022 09:16:22 +0100 Subject: Fixed fall-through warning/error. --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 0dcb668..d108729 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,8 @@ VERSION := 0.2.0 TARGET := $(shell uname -r) DKMS_ROOT_PATH := /usr/src/zenpower-$(VERSION) +KBUILD_CFLAGS += -Wimplicit-fallthrough=3 + KERNEL_MODULES := /lib/modules/$(TARGET) ifneq ("","$(wildcard /usr/src/linux-headers-$(TARGET)/*)") -- cgit v1.2.3-70-g09d2