diff options
author | 2025-01-01 00:15:37 +0800 | |
---|---|---|
committer | 2025-01-17 12:38:01 +0100 | |
commit | 15b93f340fa6bcb0b47f574e1cd3b5ce02fec403 (patch) | |
tree | f98a47138ad6b7deeb7f987e8a2bbc5f3278a3be /scripts/generate_rust_analyzer.py | |
parent | dt-bindings: usb: snps,dwc3: Split core description (diff) | |
download | wireguard-linux-15b93f340fa6bcb0b47f574e1cd3b5ce02fec403.tar.xz wireguard-linux-15b93f340fa6bcb0b47f574e1cd3b5ce02fec403.zip |
usbip: Fix seqnum sign extension issue in vhci_tx_urb
The atomic_inc_return function returns an int, while priv->seqnum is an
unsigned long. So we must cast the result to u32 to prevent potential
sign extension and size mismatch issues.
Signed-off-by: Xiong Nandi <xndchn@gmail.com>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20241231161539.20192-2-xndchn@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions