From 2f7c68cb55ecb7331f2381deb497c27155f32faf Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Wed, 03 Jan 2024 09:43:39 +0000 Subject: [PATCH] update kernel to 5.10.198 --- kernel/include/linux/dim.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/kernel/include/linux/dim.h b/kernel/include/linux/dim.h index 6c57339..f343bc9 100644 --- a/kernel/include/linux/dim.h +++ b/kernel/include/linux/dim.h @@ -236,8 +236,9 @@ * * Calculate the delta between two samples (in data rates). * Takes into consideration counter wrap-around. + * Returned boolean indicates whether curr_stats are reliable. */ -void dim_calc_stats(struct dim_sample *start, struct dim_sample *end, +bool dim_calc_stats(struct dim_sample *start, struct dim_sample *end, struct dim_stats *curr_stats); /** -- Gitblit v1.6.2