[PATCH v2] staging: most: dim2: fix non-kernel-doc comment in errors.h

From: Maria Sheikh

Date: Mon Nov 02 2026 - 05:18:48 EST


The comment above enum dim_errors_t starts with "/**" but it is not in
kernel-doc format, which scripts/kernel-doc -none reports as a warning.
Use a regular comment instead.

Found using scripts/kernel-doc -none

Signed-off-by: Maria Sheikh <mariasheikh812@xxxxxxxxx>
---
Changes in v2:
- Use a single line comment, as suggested by Julia Lawall.
- Converting it to kernel-doc was tried, but it produced
warnings for ever enum value and its inline comments, so a regular
comment is used.


drivers/staging/most/dim2/errors.h | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/staging/most/dim2/errors.h b/drivers/staging/most/dim2/errors.h
index d707daaac3b6..966b0c731921 100644
--- a/drivers/staging/most/dim2/errors.h
+++ b/drivers/staging/most/dim2/errors.h
@@ -9,9 +9,7 @@
#ifndef _MOST_DIM_ERRORS_H
#define _MOST_DIM_ERRORS_H

-/**
- * MOST DIM errors.
- */
+/* MOST DIM errors. */
enum dim_errors_t {
/** Not an error */
DIM_NO_ERROR = 0,
--
2.53.0