aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorSaeed Mahameed <[email protected]>2022-11-29 09:30:05 +0000
committerJakub Kicinski <[email protected]>2022-11-29 16:19:59 +0000
commitdda3bbbb26c823cd54d5bf211df7db12147c9392 (patch)
treeacdb675190c6b9bd0ffdb6911f5fb051c72b61fc /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentnet: marvell: prestera: Fix a NULL vs IS_ERR() check in some functions (diff)
downloadkernel-dda3bbbb26c823cd54d5bf211df7db12147c9392.tar.gz
kernel-dda3bbbb26c823cd54d5bf211df7db12147c9392.zip
Revert "net/mlx5e: MACsec, remove replay window size limitation in offload path"
This reverts commit c0071be0e16c461680d87b763ba1ee5e46548fde. The cited commit removed the validity checks which initialized the window_sz and never removed the use of the now uninitialized variable, so now we are left with wrong value in the window size and the following clang warning: [-Wuninitialized] drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c:232:45: warning: variable 'window_sz' is uninitialized when used here MLX5_SET(macsec_aso, aso_ctx, window_size, window_sz); Revet at this time to address the clang issue due to lack of time to test the proper solution. Fixes: c0071be0e16c ("net/mlx5e: MACsec, remove replay window size limitation in offload path") Signed-off-by: Saeed Mahameed <[email protected]> Reported-by: Jacob Keller <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions