Skip to content

Commit cc8d7b4

Browse files
anssihgregkh
authored andcommitted
tty: Fix extra "not" in TTY_DRIVER_REAL_RAW description
TTY_DRIVER_REAL_RAW flag (which is always set for e.g. serial ports) documentation says that driver must always set special character handling flags in certain conditions. However, as the following sentence makes clear, what is actually intended is the opposite. Fix that by removing the unintended double negation. Acked-by: Johan Hovold <johan@kernel.org> Signed-off-by: Anssi Hannula <anssi.hannula@bitwise.fi> Link: https://lore.kernel.org/r/20211027102124.3049414-1-anssi.hannula@bitwise.fi Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent d142585 commit cc8d7b4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/linux/tty_driver.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ static inline void tty_set_operations(struct tty_driver *driver,
360360
* Used for PTY's, in particular.
361361
*
362362
* TTY_DRIVER_REAL_RAW --- if set, indicates that the driver will
363-
* guarantee never not to set any special character handling
363+
* guarantee never to set any special character handling
364364
* flags if ((IGNBRK || (!BRKINT && !PARMRK)) && (IGNPAR ||
365365
* !INPCK)). That is, if there is no reason for the driver to
366366
* send notifications of parity and break characters up to the

0 commit comments

Comments
 (0)