Skip to contentSkip to conversation

tty: Correct tty_operations @remove description

PATCH New James Lee 2 participants 2 messages Oct 27 TTY layer and serial drivers

lore
Share & tools
lore

James Lee

author
#0 lore raw

PATCH 1/1 tty: Correct tty_operations @remove description

Description says that @remove is used in conjunction with itself, seemingly an unadjusted copy from the description of @install. Replace @remove's reference to itself with @install.

---
 include/linux/tty_driver.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/tty_driver.h +1 -1
index 40ae3bb13e11a22390906d6307bcd52ab7f98c76..26fd80dc39e2ffbf06e1520ee242e8e9084efd56 100644
@@ -135,7 +135,7 @@ enum tty_driver_subtype {
  * @remove: ``void ()(struct tty_driver *self, struct tty_struct *tty)``
  *
  *	Remove a closed @tty from the @self's internal tables. Used in
- *	conjunction with @lookup and @remove methods.
+ *	conjunction with @lookup and @install methods.
  *
  *	Optional method. Default behaviour is to use the @self->ttys array.
  *

---
base-commit: 21a7f44fd0765fcc5194130b28767786eba1d1e7
change-id: 20261027-dev-tty-remove-doc-be8965a944ce

Best regards,

Signature · 1 line
James Lee <[email protected]>
#1 lore raw
Sashiko has reviewed this patch and found no issues.
Quoted 5 lines

Description says that @remove is used in conjunction with itself, seemingly an unadjusted copy from the description of @install. Replace @remove's reference to itself with @install.

Sashiko has reviewed this patch and found no issues.

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/20261027-dev-tty-remove-doc-v1-1-e4272aa01ddc@codeconstruct.com.au?part=1