diff options
| author | Chris Mi <[email protected]> | 2022-11-29 09:30:06 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-11-29 16:19:59 +0000 |
| commit | 0e682f04b4b59eac0b0a030251513589c4607458 (patch) | |
| tree | 8646bcc0aa9a171c09a75f996b82f6ec29e61122 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | Revert "net/mlx5e: MACsec, remove replay window size limitation in offload path" (diff) | |
| download | kernel-0e682f04b4b59eac0b0a030251513589c4607458.tar.gz kernel-0e682f04b4b59eac0b0a030251513589c4607458.zip | |
net/mlx5: Lag, Fix for loop when checking lag
The cited commit adds a for loop to check if each port supports lag
or not. But dev is not initialized correctly. Fix it by initializing
dev for each iteration.
Fixes: e87c6a832f88 ("net/mlx5: E-switch, Fix duplicate lag creation")
Signed-off-by: Chris Mi <[email protected]>
Reported-by: Jacob Keller <[email protected]>
Signed-off-by: Saeed Mahameed <[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
