Skip to content
Commit ad2c99ca authored by Junlin Yang's avatar Junlin Yang Committed by Saeed Mahameed
Browse files

net/mlx5: use kvfree() for memory allocated with kvzalloc()



It is allocated with kvzalloc(), the corresponding release function
should not be kfree(), use kvfree() instead.

Generated by: scripts/coccinelle/api/kfree_mismatch.cocci

Signed-off-by: default avatarJunlin Yang <yangjunlin@yulong.com>
Reviewed-by: default avatarRoi Dayan <roid@nvidia.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
parent cc82a2e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment