diff --git a/drivers/amlogic/Makefile b/drivers/amlogic/Makefile index 8f76aaed94ab..cba5e3eef157 100644 --- a/drivers/amlogic/Makefile +++ b/drivers/amlogic/Makefile @@ -8,7 +8,6 @@ ########################################## ifndef CONFIG_KASAN -KBUILD_CFLAGS += -Wlarger-than=28792 KBUILD_CFLAGS += -Wstack-usage=1856 -Wno-bool-operation -Wno-maybe-uninitialized else ifeq ($(call cc-ifversion, -lt, 0500, y), y)