From b7f05773c55a0ed6a2b5492c60ef842d95c66948 Mon Sep 17 00:00:00 2001 From: Miguel Ojeda Date: Sun, 4 Jul 2021 12:48:47 +0200 Subject: [PATCH] Makefile: enable Rust `float_arithmetic` Clippy lint Suggested-by: Amanieu d'Antras Suggested-by: Gary Guo Signed-off-by: Miguel Ojeda --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 269ddbb72eb35d..c814b209b6c91d 100644 --- a/Makefile +++ b/Makefile @@ -529,7 +529,7 @@ KBUILD_RUSTFLAGS := --emit=dep-info,obj,metadata --edition=2018 \ -Dunsafe_op_in_unsafe_fn -Drust_2018_idioms \ -Wmissing_docs KBUILD_CLIPPYFLAGS := -Dclippy::correctness -Dclippy::style \ - -Dclippy::complexity -Dclippy::perf + -Dclippy::complexity -Dclippy::perf -Dclippy::float_arithmetic KBUILD_AFLAGS_KERNEL := KBUILD_CFLAGS_KERNEL := KBUILD_RUSTFLAGS_KERNEL :=