From: Jason Gunthorpe <jgg@nvidia.com>
To: bryantan@vmware.com
Cc: linux-rdma@vger.kernel.org, leon@kernel.org,
Dan Carpenter <dan.carpenter@linaro.org>
Subject: Re: [PATCH] RDMA/vmw_pvrdma: Remove unnecessary check on wr->opcode
Date: Fri, 9 Jun 2023 14:14:23 -0300 [thread overview]
Message-ID: <ZINd73haYFG3fPmz@nvidia.com> (raw)
In-Reply-To: <20230605183728.47021-1-bryantan@vmware.com>
On Mon, Jun 05, 2023 at 11:37:28AM -0700, bryantan@vmware.com wrote:
> From: Bryan Tan <bryantan@vmware.com>
>
> wr->opcode is unsigned; checking if it is negative is unnecessary.
> Fix this issue by removing the check.
>
> Fixes: 29c8d9eba550 ("IB: Add vmw_pvrdma driver")
> Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
> Signed-off-by: Bryan Tan <bryantan@vmware.com>
> ---
> drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c | 8 --------
> 1 file changed, 8 deletions(-)
Applied to for-next, thanks
Jason
prev parent reply other threads:[~2023-06-09 17:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-05 18:37 [PATCH] RDMA/vmw_pvrdma: Remove unnecessary check on wr->opcode bryantan
2023-06-09 17:14 ` Jason Gunthorpe [this message]
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=ZINd73haYFG3fPmz@nvidia.com \
--to=jgg@nvidia.com \
--cc=bryantan@vmware.com \
--cc=dan.carpenter@linaro.org \
--cc=leon@kernel.org \
--cc=linux-rdma@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.