diff options
author | 2022-10-17 17:37:29 +0300 | |
---|---|---|
committer | 2022-11-24 00:03:21 -0800 | |
commit | bc59c7d326d28a12f61cd068e459235a7a0bd009 (patch) | |
tree | d32e7306cb55fc8405081e8ae2304c27d1a58006 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | net/mlx5e: Fix use-after-free when reverting termination table (diff) | |
download | wireguard-linux-bc59c7d326d28a12f61cd068e459235a7a0bd009.tar.xz wireguard-linux-bc59c7d326d28a12f61cd068e459235a7a0bd009.zip |
net/mlx5e: Fix a couple error codes
If kvzalloc() fails then return -ENOMEM. Don't return success.
Fixes: 3b20949cb21b ("net/mlx5e: Add MACsec RX steering rules")
Fixes: e467b283ffd5 ("net/mlx5e: Add MACsec TX steering rules")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions