commit | b7f406bb883ba7ac3222298f6b44cebc4cfe2dde | [log] [tgz] |
---|---|---|
author | Chuhong Yuan <hslester96@gmail.com> | Wed Jul 17 16:21:01 2019 +0800 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Mon Jul 22 15:19:40 2019 -0300 |
tree | 4ac29a64be14b875e1e04bc2c4fe6a3366e16268 | |
parent | c56b593d2af4cbd189c6af5fd6790728fade80cc [diff] |
IB/mlx5: Replace kfree with kvfree Memory allocated by kvzalloc should not be freed by kfree(), use kvfree() instead. Fixes: 813e90b1aeaa ("IB/mlx5: Add advise_mr() support") Link: https://lore.kernel.org/r/20190717082101.14196-1-hslester96@gmail.com Signed-off-by: Chuhong Yuan <hslester96@gmail.com> Reviewed-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>