diff options
| author | Johan Hovold <johan@kernel.org> | 2026-09-15 14:40:12 +0200 |
|---|---|---|
| committer | Johan Hovold <johan@kernel.org> | 2026-09-16 15:24:51 +0200 |
| commit | ec06546b43b612cefc851558981b4955c0ef9e46 (patch) | |
| tree | e3e91a06ac62f609c0ed5f4c7281c6ad9aadc11e /tools/lib/python/kdoc/python_version.py | |
| parent | afc235a217360c6859068d2e37a4df305c4d1be2 (diff) | |
| download | linux-next-ec06546b43b612cefc851558981b4955c0ef9e46.tar.gz linux-next-ec06546b43b612cefc851558981b4955c0ef9e46.zip | |
USB: serial: quatech2: fix baud rate overflow
The requested baud rate is incorrectly truncated to 16 bits so that
line speeds above 65535 bps cannot be set.
Use 32 bits for the rate while rejecting rates outside of
[50,921600] to avoid having the 16-bit divisor overflow.
Fixes: f7a33e608d9a ("USB: serial: add quatech2 usb to serial driver")
Cc: stable@vger.kernel.org # 3.5
Cc: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
