Skip to content

Commit e1e8226

Browse files
committed
Rebase kernel patch against latest tree
1 parent 168031d commit e1e8226

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

doc/kernel.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ index d0ee33a487be9..17f8369198873 100644
2626
-Zunstable-options --extern pin_init --extern kernel \
2727
--crate-type rlib -L $(objtree)/rust/ \
2828
--crate-name $(basename $(notdir $@)) \
29-
diff --git a/scripts/Makefile.extrawarn b/scripts/Makefile.extrawarn
29+
diff --git a/scripts/Makefile.warn b/scripts/Makefile.warn
3030
index dca175fffcabe..7b359603c1bd7 100644
31-
--- a/scripts/Makefile.extrawarn
32-
+++ b/scripts/Makefile.extrawarn
31+
--- a/scripts/Makefile.warn
32+
+++ b/scripts/Makefile.warn
3333
@@ -23,6 +23,7 @@ KBUILD_CFLAGS += -Wmissing-prototypes
3434

3535
ifneq ($(CONFIG_FRAME_WARN),0)
3636
KBUILD_CFLAGS += -Wframe-larger-than=$(CONFIG_FRAME_WARN)
3737
+KBUILD_RUSTFLAGS += -Wklint::stack-frame-too-large
3838
endif
3939

40-
KBUILD_CPPFLAGS-$(CONFIG_WERROR) += -Werror
40+
KBUILD_CFLAGS-$(CONFIG_CC_NO_ARRAY_BOUNDS) += -Wno-array-bounds

0 commit comments

Comments
 (0)