summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_parser.py
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2025-08-29 19:37:12 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-09-06 15:20:22 +0200
commit43ae982cd0ec7fb6fea40fabef2c872e6f9b213d (patch)
tree905a2a1a35d113f5644d11840ae29d3656dd44e6 /scripts/lib/kdoc/kdoc_parser.py
parent91709d2ce5cdf568b42fcc33473929843ed95cd3 (diff)
usb: usblp: Use min_t() to improve usblp_read()
Use min_t() to improve usblp_read() and avoid calculating 'avail - usblp->readcount' twice. Use min_t(ssize_t,,) instead of min() to avoid a signedness error. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Link: https://lore.kernel.org/r/20250829173713.56222-1-thorsten.blum@linux.dev Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions