misc: Fix clippy - manually reimplementing div_ceil

Reported by 1.86.0-beta.1 (f0cb41030 2025-02-17).

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
This commit is contained in:
Ruoqing He
2025-02-19 16:00:59 +08:00
committed by Bo Chen
parent c441bb2968
commit 4de422ad69
3 changed files with 4 additions and 4 deletions

View File

@@ -299,7 +299,7 @@ pub struct TdHob {
}
fn align_hob(v: u64) -> u64 {
(v + 7) / 8 * 8
v.div_ceil(8) * 8
}
impl TdHob {