aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorJiacheng Shi <[email protected]>2021-12-10 01:42:34 -0800
committerJason Gunthorpe <[email protected]>2021-12-14 20:13:29 -0400
commit12d3bbdd6bd2780b71cc466f3fbc6eb7d43bbc2a (patch)
tree621ca4e9992c7f2f268720bee189eff44ef010ef /scripts/gdb/linux/utils.py
parentbee90911e0138c76ee67458ac0d58b38a3190f65 (diff)
RDMA/hns: Replace kfree() with kvfree()
Variables allocated by kvmalloc_array() should not be freed by kfree. Because they may be allocated by vmalloc. So we replace kfree() with kvfree() here. Fixes: 6fd610c5733d ("RDMA/hns: Support 0 hop addressing for SRQ buffer") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jiacheng Shi <[email protected]> Acked-by: Wenpeng Liang <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions