]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
IB/mlx4: Replace kfree with kvfree in mlx4_ib_destroy_srq
authorWengang Wang <wen.gang.wang@oracle.com>
Thu, 17 Dec 2015 02:54:15 +0000 (10:54 +0800)
committerDoug Ledford <dledford@redhat.com>
Wed, 23 Dec 2015 04:23:34 +0000 (23:23 -0500)
commitdf4176677fdf7ac0c5748083eb7a5b269fb1e156
tree06014694141866de8419862501326950203d59e8
parentfac51590c1a077809984139e9bb9e06ed366f219
IB/mlx4: Replace kfree with kvfree in mlx4_ib_destroy_srq

Commit 0ef2f05c7e02ff99c0b5b583d7dee2cd12b053f2 uses vmalloc for WR buffers
when needed and uses kvfree to free the buffers. It missed changing kfree
to kvfree in mlx4_ib_destroy_srq().

Reported-by: Matthew Finaly <matt@Mellanox.com>
Signed-off-by: Wengang Wang <wen.gang.wang@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx4/srq.c