]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: fs, jump to exit point and don't fall through
authorMark Bloch <mbloch@nvidia.com>
Tue, 15 Mar 2022 10:45:00 +0000 (10:45 +0000)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 3 May 2022 04:21:14 +0000 (21:21 -0700)
commite865bd5f5c9a7ad8b8a886e5c837ad08749b8eec
tree75b6eb5d3bb001ab29c66086aa7a3c98617cd8be
parent44e2e4d9d61de9f415e414d6abb8968fb732414a
net/mlx5: fs, jump to exit point and don't fall through

For code clarity and to prevent future bugs make sure to jump
to the exit point once done handling that specific type.
This aligns the code with the rest logic in the function.

Signed-off-by: Mark Bloch <mbloch@nvidia.com>
Reviewed-by: Maor Gottlieb <maorg@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c