From 4bf922f436c4753433a292adb86d9420d86d2323 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Mon, 18 Nov 2024 16:11:30 +0100 Subject: [PATCH] ras-page-isolation: don't use "/**" for normal comments The usage of /** is reserved for doxygen markups. Don't use it where it doesn't belong. Signed-off-by: Mauro Carvalho Chehab --- ras-page-isolation.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ras-page-isolation.c b/ras-page-isolation.c index aa1dcf8..eb1f3a9 100644 --- a/ras-page-isolation.c +++ b/ras-page-isolation.c @@ -181,7 +181,7 @@ parse: value *= units->val; if (tmp != 0 && value / tmp != units->val) config->overflow = true; - /** + /* * if units->val is 1, config->env is greater than ulong_max, so it is can strtoul * if failed, the value is greater than ulong_max, set config->overflow = true */ @@ -220,7 +220,7 @@ static void page_isolation_init(void) { char threshold_string[PARSED_ENV_LEN]; char cycle_string[PARSED_ENV_LEN]; - /** + /* * It's unnecessary to parse threshold configuration when offline * choice is off. */ @@ -269,7 +269,7 @@ static void row_isolation_init(void) { char threshold_string[PARSED_ENV_LEN]; char cycle_string[PARSED_ENV_LEN]; - /** + /* * It's unnecessary to parse threshold configuration when offline * choice is off. */ @@ -358,7 +358,7 @@ static void page_record(struct page_record *pr, unsigned int count, time_t time) unsigned long tolerate; if (period >= cycle.val) { - /** + /* * Since we don't refresh automatically, it is possible that the period * between two occurrences will be longer than the pre-configured refresh cycle. * In this case, we tolerate the frequency of the whole period up to @@ -374,7 +374,7 @@ static void page_record(struct page_record *pr, unsigned int count, time_t time) if (pr->count >= threshold.val) { log(TERM, LOG_INFO, "Corrected Errors at %#llx exceeded threshold\n", pr->addr); - /** + /* * Backup ce count of current cycle to enable next round, which actually * should never happen if we can disable overflow completely in the same * time unit (but sadly we can't). -- 2.49.0