History

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.

Anssi Hannula committed 5 years ago

Commit cc8d7b41 parent d1425851 file · +1 −1Browse files

Showing the changes to include (1 of 1 file). Show all

Unified · Split

include/linux/tty_driver.h+1−1
@@ -360,7 +360,7 @@ static inline void tty_set_operations(struct tty_driver *driver, · 359 unmodified lines
360 * Used for PTY's, in particular.360 * Used for PTY's, in particular.
361 * 361 *
362 * TTY_DRIVER_REAL_RAW --- if set, indicates that the driver will362 * TTY_DRIVER_REAL_RAW --- if set, indicates that the driver will
363 * guarantee never not to set any special character handling363 * guarantee never to set any special character handling
364 * flags if ((IGNBRK || (!BRKINT && !PARMRK)) && (IGNPAR ||364 * flags if ((IGNBRK || (!BRKINT && !PARMRK)) && (IGNPAR ||
365 * !INPCK)). That is, if there is no reason for the driver to365 * !INPCK)). That is, if there is no reason for the driver to
366 * send notifications of parity and break characters up to the366 * send notifications of parity and break characters up to the

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t