mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
Merge branch 'net-hns3-some-cleanups-for-hns3-driver'
Jijie Shao says: ==================== net: hns3: some cleanups for hns3 driver Patch 1 sets msg->desc to NULL after kfree to avoid leaving a dangling pointer in a struct that is reused across loop iterations. Patch 2 adds the missing const qualifier to the reg parameter of hclge_log_error(), which is never modified within the function. Patch 3 uses the txqueue parameter passed by the ndo_tx_timeout callback directly, instead of iterating all tx queues to find the timed out one. ==================== Link: https://patch.msgid.link/20260807095435.2959246-1-shaojijie@huawei.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This commit is contained in:
commit
31397cf181
2 changed files with 24 additions and 27 deletions
Loading…
Add table
Add a link
Reference in a new issue