summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-09-15 14:40:11 +0200
committerJohan Hovold <johan@kernel.org>2026-09-16 15:24:51 +0200
commitafc235a217360c6859068d2e37a4df305c4d1be2 (patch)
treebde5733fb39e3d20a36e6e52ce958b50d096481e /tools/lib/python/kdoc/python_version.py
parentd84e27d87738634b92001500435ae4dadba10a13 (diff)
downloadlinux-next-afc235a217360c6859068d2e37a4df305c4d1be2.tar.gz
linux-next-afc235a217360c6859068d2e37a4df305c4d1be2.zip
USB: serial: ssu100: 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 and remainder while rejecting rates outside of [50,460800] to avoid having the divisor or remainder overflow. This issue was flagged by an LLM. Fixes: 52af95459939 ("USB: add USB serial ssu100 driver") Cc: stable@vger.kernel.org # 2.6.36 Cc: Bill Pemberton <wfp5p@virginia.edu> Assisted-by: LLM 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