Re: [PATCH] serial: Convert serial_rs485 to kernel doc

From: Jiri Slaby
Date: Tue Sep 27 2022 - 01:16:36 EST


On 26. 09. 22, 14:37, Ilpo Järvinen wrote:
Convert struct serial_rs485 comments to kernel doc format.

It'd be nice if you referenced the struct from Documentation/, so that it is: 1) checked, and 2) rendered somewhere.

Suggested-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>

---
include/uapi/linux/serial.h | 61 +++++++++++++++++++++++++++++----------------
1 file changed, 40 insertions(+), 21 deletions(-)

diff --git a/include/uapi/linux/serial.h b/include/uapi/linux/serial.h
index cea06924b295..67d4bc663521 100644
--- a/include/uapi/linux/serial.h
+++ b/include/uapi/linux/serial.h
@@ -107,37 +107,56 @@ struct serial_icounter_struct {
int reserved[9];
};
-/*
+/**
+ * struct serial_rs485 - serial interface for controlling RS485 settings.
...
thanks,
--
js
suse labs