From: Tariq Toukan <ttoukan.linux@gmail.com>
To: trix@redhat.com, davem@davemloft.net, kuba@kernel.org
Cc: netdev@vger.kernel.org, linux-rdma@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] net/mlx4_core : remove unneeded semicolon
Date: Mon, 2 Nov 2020 11:31:57 +0200 [thread overview]
Message-ID: <78cd4150-0040-44a7-81cf-02c17d61f463@gmail.com> (raw)
In-Reply-To: <20201101140528.2279424-1-trix@redhat.com>
On 11/1/2020 4:05 PM, trix@redhat.com wrote:
> From: Tom Rix <trix@redhat.com>
>
> A semicolon is not needed after a switch statement.
>
> Signed-off-by: Tom Rix <trix@redhat.com>
> ---
> drivers/net/ethernet/mellanox/mlx4/resource_tracker.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/ethernet/mellanox/mlx4/resource_tracker.c b/drivers/net/ethernet/mellanox/mlx4/resource_tracker.c
> index 1187ef1375e2..394f43add85c 100644
> --- a/drivers/net/ethernet/mellanox/mlx4/resource_tracker.c
> +++ b/drivers/net/ethernet/mellanox/mlx4/resource_tracker.c
> @@ -300,7 +300,7 @@ static const char *resource_str(enum mlx4_resource rt)
> case RES_FS_RULE: return "RES_FS_RULE";
> case RES_XRCD: return "RES_XRCD";
> default: return "Unknown resource type !!!";
> - };
> + }
> }
>
> static void rem_slave_vlans(struct mlx4_dev *dev, int slave);
>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Thanks,
Tariq
next prev parent reply other threads:[~2020-11-02 9:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-01 14:05 [PATCH] net/mlx4_core : remove unneeded semicolon trix
2020-11-02 9:31 ` Tariq Toukan [this message]
2020-11-03 1:53 ` Jakub Kicinski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=78cd4150-0040-44a7-81cf-02c17d61f463@gmail.com \
--to=ttoukan.linux@gmail.com \
--cc=davem@davemloft.net \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=trix@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).