aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Calori2022-03-10 09:16:22 +0100
committerAlessandro Calori2022-03-10 09:25:34 +0100
commit184c4c7797a8e1f63f6649645dd31d975e9c4d3f (patch)
treea8c4b504d5aa69fa2ffe2794f02cd48468e84145
parent27eb87fb058dbf10d46133d5aa563986fc9db196 (diff)
Fixed fall-through warning/error.
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
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)/*)")