summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartlomiej Kubik <kubik.bartlomiej@gmail.com>2025-12-02 09:37:48 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-12-17 17:06:47 +0300
commit695f986155d9dd95aef4acfca6dd31bf4b83282d (patch)
tree99ea4077004d995028ceca45dddebc75f67e7b37
parente5484745c4c0c3046d8446484f1e663131ba3ec2 (diff)
downloadlinux-695f986155d9dd95aef4acfca6dd31bf4b83282d.tar.xz
tty/n_hdlc: Fix struct n_hdlc kernel-doc warnings
Add missing descriptions for write_work and tty_for_write_work members in struct n_hdlc. This fixes the following warnings: drivers/tty/n_hdlc.c: warning: Function parameter or member 'write_work' not described in 'n_hdlc' drivers/tty/n_hdlc.c: warning: Function parameter or member 'tty_for_write_work' not described in 'n_hdlc' Signed-off-by: Bartlomiej Kubik <kubik.bartlomiej@gmail.com> Link: https://patch.msgid.link/20251202063748.1210359-1-kubik.bartlomiej@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/tty/n_hdlc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/tty/n_hdlc.c b/drivers/tty/n_hdlc.c
index 3c9dcb0928c6..f242d73ee4e0 100644
--- a/drivers/tty/n_hdlc.c
+++ b/drivers/tty/n_hdlc.c
@@ -127,6 +127,8 @@ struct n_hdlc_buf_list {
* @rx_buf_list: list of received frame buffers
* @tx_free_buf_list: list unused transmit frame buffers
* @rx_free_buf_list: list unused received frame buffers
+ * @write_work: work struct for deferred frame transmission
+ * @tty_for_write_work: pointer to tty instance used by the @write_work
*/
struct n_hdlc {
bool tbusy;