[PATCH] tty: Add closing marker into comment in tty_ldisc.h

Ilpo Järvinen posted 1 patch 3 years, 10 months ago
include/linux/tty_ldisc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] tty: Add closing marker into comment in tty_ldisc.h
Posted by Ilpo Järvinen 3 years, 10 months ago
The closing `` is missing. Add it.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Fixes: 6bb6fa6908eb ("tty: Implement lookahead to process XON/XOFF timely")
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>

---
 include/linux/tty_ldisc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/tty_ldisc.h b/include/linux/tty_ldisc.h
index 33678e1936f6..ede6f2157f32 100644
--- a/include/linux/tty_ldisc.h
+++ b/include/linux/tty_ldisc.h
@@ -187,7 +187,7 @@ int ldsem_down_write_nested(struct ld_semaphore *sem, int subclass,
  *	function for automatic flow control.
  *
  * @lookahead_buf: [DRV] ``void ()(struct tty_struct *tty,
- *			const unsigned char *cp, const char *fp, int count)
+ *			const unsigned char *cp, const char *fp, int count)``
  *
  *	This function is called by the low-level tty driver for characters
  *	not eaten by ->receive_buf() or ->receive_buf2(). It is useful for

-- 
tg: (65534736d9a5..) ldisc/comment-fix (depends on: tty-next)
Re: [PATCH] tty: Add closing marker into comment in tty_ldisc.h
Posted by Bagas Sanjaya 3 years, 10 months ago
On Tue, Jun 14, 2022 at 10:50:54AM +0300, Ilpo Järvinen wrote:
> The closing `` is missing. Add it.
> 
> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
> Fixes: 6bb6fa6908eb ("tty: Implement lookahead to process XON/XOFF timely")
> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
> 

Hi Ilpo,

I have already posted the same fix at [1]. Thanks anyway.

[1]: https://lore.kernel.org/linux-doc/20220614091214.511791-1-bagasdotme@gmail.com/

-- 
An old man doll... just what I always wanted! - Clara