X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=Makefile;h=fa0fbe7851ea4198df3cf3372cd74567767dc9c5;hb=6e6d05360b80f196ed07061327f03346b204abea;hp=fd6f7949bc1a3e1c805b2865675a4dedd1db8ce7;hpb=c7bf0a0f3703bc145368b9ced02749bf75fc718d;p=linux.git diff --git a/Makefile b/Makefile index fd6f7949bc1a..fa0fbe7851ea 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 -PATCHLEVEL = 2 +PATCHLEVEL = 3 SUBLEVEL = 0 -EXTRAVERSION = +EXTRAVERSION = -rc2 NAME = Bobtail Squid # *DOCUMENTATION* @@ -843,6 +843,9 @@ NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include) # warn about C99 declaration after statement KBUILD_CFLAGS += -Wdeclaration-after-statement +# Warn about unmarked fall-throughs in switch statement. +KBUILD_CFLAGS += $(call cc-option,-Wimplicit-fallthrough=3,) + # Variable Length Arrays (VLAs) should not be used anywhere in the kernel KBUILD_CFLAGS += -Wvla