From 2d4881534aacc62f5b802fd6a7eb5b0b7b1230d5 Mon Sep 17 00:00:00 2001 From: Putta Khunchalee Date: Fri, 7 Feb 2025 00:07:39 +0700 Subject: [PATCH] Allows clippy::while_immutable_condition --- kernel/src/uma/keg.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/src/uma/keg.rs b/kernel/src/uma/keg.rs index 388601ab4..5ac8b5ffb 100644 --- a/kernel/src/uma/keg.rs +++ b/kernel/src/uma/keg.rs @@ -195,6 +195,7 @@ impl UmaKeg { return None; } + #[allow(clippy::while_immutable_condition)] // TODO: Remove this. while self.max_pages != 0 && self.max_pages <= self.pages { todo!() }