diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-02-03 16:45:21 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-02-04 15:43:23 +0100 |
commit | 916acbf6b4b9262df7de1d2b6208a4efa209a88f (patch) | |
tree | 81953acaf678d12d60f1cd71ea1ec9d333ec5547 | |
parent | a5e3faf161a3f225cd307f4a78e8b6673b2344bf (diff) | |
download | linux-stable-916acbf6b4b9262df7de1d2b6208a4efa209a88f.tar.gz linux-stable-916acbf6b4b9262df7de1d2b6208a4efa209a88f.tar.bz2 linux-stable-916acbf6b4b9262df7de1d2b6208a4efa209a88f.zip |
serial: core: Fix the definition name in the comment of UPF_* flags
From day 1 the UPF_LAST_USER wasn't defined, a specific number of
the last bit for userspace. Instead the code always relies on
ASYNCB_LAST_USER. Fix comment accordingly.
Fixes: 904326ecac02 ("tty,serial: Unify UPF_* and ASYNC_* flag definitions")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220203144521.16457-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | include/linux/serial_core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index c58cc142d23f..31f7fe527395 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h @@ -171,7 +171,7 @@ struct uart_port { * assigned from the serial_struct flags in uart_set_info() * [for bit definitions in the UPF_CHANGE_MASK] * - * Bits [0..UPF_LAST_USER] are userspace defined/visible/changeable + * Bits [0..ASYNCB_LAST_USER] are userspace defined/visible/changeable * The remaining bits are serial-core specific and not modifiable by * userspace. */ |