diff mbox series

[net-next,v2] net/mlx5: Fix typos

Message ID 20241002200838.7316-1-algonell@gmail.com (mailing list archive)
State Awaiting Upstream
Delegated to: Netdev Maintainers
Headers show
Series [net-next,v2] net/mlx5: Fix typos | expand

Checks

Context Check Description
netdev/series_format success Single patches do not need cover letters
netdev/tree_selection success Clearly marked for net-next
netdev/ynl success Generated files up to date; no warnings/errors; no diff in generated;
netdev/fixes_present success Fixes tag not required for -next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 9 this patch: 9
netdev/build_tools success No tools touched, skip
netdev/cc_maintainers success CCed 8 of 8 maintainers
netdev/build_clang success Errors and warnings before: 9 this patch: 9
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 8 this patch: 8
netdev/checkpatch warning WARNING: line length of 91 exceeds 80 columns
netdev/build_clang_rust success No Rust files in patch. Skipping build
netdev/kdoc success Errors and warnings before: 1 this patch: 1
netdev/source_inline success Was 0 now: 0
netdev/contest success net-next-2024-10-03--18-00 (tests: 772)

Commit Message

Andrew Kreimer Oct. 2, 2024, 8:08 p.m. UTC
Fix typos in comments.

Reported-by: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Kreimer <algonell@gmail.com>
---
v2:
  - A repost, there is no range-diff.
v1: https://lore.kernel.org/netdev/20240915114225.99680-1-algonell@gmail.com/

 drivers/net/ethernet/mellanox/mlx5/core/irq_affinity.c | 2 +-
 drivers/net/ethernet/mellanox/mlx5/core/main.c         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Mateusz Polchlopek Oct. 3, 2024, 6:57 a.m. UTC | #1
On 10/2/2024 10:08 PM, Andrew Kreimer wrote:
> Fix typos in comments.
> 
> Reported-by: Matthew Wilcox <willy@infradead.org>
> Signed-off-by: Andrew Kreimer <algonell@gmail.com>
> ---
> v2:
>    - A repost, there is no range-diff.
> v1: https://lore.kernel.org/netdev/20240915114225.99680-1-algonell@gmail.com/
> 
>   drivers/net/ethernet/mellanox/mlx5/core/irq_affinity.c | 2 +-
>   drivers/net/ethernet/mellanox/mlx5/core/main.c         | 2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/net/ethernet/mellanox/mlx5/core/irq_affinity.c b/drivers/net/ethernet/mellanox/mlx5/core/irq_affinity.c
> index 1477db7f5307..4336ac98d85d 100644
> --- a/drivers/net/ethernet/mellanox/mlx5/core/irq_affinity.c
> +++ b/drivers/net/ethernet/mellanox/mlx5/core/irq_affinity.c
> @@ -80,7 +80,7 @@ irq_pool_request_irq(struct mlx5_irq_pool *pool, struct irq_affinity_desc *af_de
>    * isn't subset of req_mask, so we will skip it. irq1_mask is subset of req_mask,
>    * we don't skip it.
>    * If pool is sf_ctrl_pool, then all IRQs have the same mask, so any IRQ will
> - * fit. And since mask is subset of itself, we will pass the first if bellow.
> + * fit. And since mask is subset of itself, we will pass the first if below.
>    */
>   static struct mlx5_irq *
>   irq_pool_find_least_loaded(struct mlx5_irq_pool *pool, const struct cpumask *req_mask)
> diff --git a/drivers/net/ethernet/mellanox/mlx5/core/main.c b/drivers/net/ethernet/mellanox/mlx5/core/main.c
> index 220a9ac75c8b..82911ea10ff8 100644
> --- a/drivers/net/ethernet/mellanox/mlx5/core/main.c
> +++ b/drivers/net/ethernet/mellanox/mlx5/core/main.c
> @@ -1664,7 +1664,7 @@ void mlx5_unload_one(struct mlx5_core_dev *dev, bool suspend)
>   	devl_unlock(devlink);
>   }
>   
> -/* In case of light probe, we don't need a full query of hca_caps, but only the bellow caps.
> +/* In case of light probe, we don't need a full query of hca_caps, but only the below caps.
>    * A full query of hca_caps will be done when the device will reload.
>    */
>   static int mlx5_query_hca_caps_light(struct mlx5_core_dev *dev)

Reviewed-by: Mateusz Polchlopek <mateusz.polchlopek@intel.com>
Kalesh Anakkur Purayil Oct. 3, 2024, 8:13 a.m. UTC | #2
On Thu, Oct 3, 2024 at 1:39 AM Andrew Kreimer <algonell@gmail.com> wrote:
>
> Fix typos in comments.
>
> Reported-by: Matthew Wilcox <willy@infradead.org>
> Signed-off-by: Andrew Kreimer <algonell@gmail.com>

LGTM,
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
diff mbox series

Patch

diff --git a/drivers/net/ethernet/mellanox/mlx5/core/irq_affinity.c b/drivers/net/ethernet/mellanox/mlx5/core/irq_affinity.c
index 1477db7f5307..4336ac98d85d 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/irq_affinity.c
+++ b/drivers/net/ethernet/mellanox/mlx5/core/irq_affinity.c
@@ -80,7 +80,7 @@  irq_pool_request_irq(struct mlx5_irq_pool *pool, struct irq_affinity_desc *af_de
  * isn't subset of req_mask, so we will skip it. irq1_mask is subset of req_mask,
  * we don't skip it.
  * If pool is sf_ctrl_pool, then all IRQs have the same mask, so any IRQ will
- * fit. And since mask is subset of itself, we will pass the first if bellow.
+ * fit. And since mask is subset of itself, we will pass the first if below.
  */
 static struct mlx5_irq *
 irq_pool_find_least_loaded(struct mlx5_irq_pool *pool, const struct cpumask *req_mask)
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/main.c b/drivers/net/ethernet/mellanox/mlx5/core/main.c
index 220a9ac75c8b..82911ea10ff8 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/main.c
+++ b/drivers/net/ethernet/mellanox/mlx5/core/main.c
@@ -1664,7 +1664,7 @@  void mlx5_unload_one(struct mlx5_core_dev *dev, bool suspend)
 	devl_unlock(devlink);
 }
 
-/* In case of light probe, we don't need a full query of hca_caps, but only the bellow caps.
+/* In case of light probe, we don't need a full query of hca_caps, but only the below caps.
  * A full query of hca_caps will be done when the device will reload.
  */
 static int mlx5_query_hca_caps_light(struct mlx5_core_dev *dev)