summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorIlan Peer <ilan.peer@intel.com>2025-03-06 13:25:46 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-03-13 15:08:08 +0300
commit101d598575a5b581f69040a46f13ca8939f94243 (patch)
tree112547f171dc5bbb308da7b9cfbb950ab0598beb /scripts/generate_rust_analyzer.py
parentf41ec2489cc4dc5e18c3e04e47e2c5941e5d9182 (diff)
downloadlinux-101d598575a5b581f69040a46f13ca8939f94243.tar.xz
wifi: iwlwifi: pcie: Fix TSO preparation
commit bbb18f7e23a3f5f56d5c8b4ee0f78f00edb3b1b2 upstream. The allocation of the scatter gather data structure should be done based on the number of memory chunks that need to be mapped, and it is not dependent on the overall payload length. Fix it. In addition, as the skb_to_sgvec() function returns an 'int' do not assign it to an 'unsigned int' as otherwise the error check would be useless. Fixes: 7f5e3038f029 ("wifi: iwlwifi: map entire SKB when sending AMSDUs") Signed-off-by: Ilan Peer <ilan.peer@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20250306122425.8c0e23a3d583.I3cb4d6768c9d28ce3da6cd0a6c65466176cfc1ee@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.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