From: Leon Romanovsky <leon@kernel.org>
To: linux-rdma@vger.kernel.org, Daniel Vacek <neelx@redhat.com>
Cc: Rogerio Moraes <rogerio@cadence.com>
Subject: Re: [PATCH v2] verbs: fix compilation warning with C++20
Date: Wed, 5 Jul 2023 11:40:17 +0300 [thread overview]
Message-ID: <20230705084017.GK6455@unreal> (raw)
In-Reply-To: <168854221298.91294.7240817458366723584.b4-ty@nvidia.com>
On Wed, Jul 05, 2023 at 10:30:12AM +0300, Leon Romanovsky wrote:
>
> On Tue, 13 Jun 2023 15:19:31 +0200, Daniel Vacek wrote:
> > Our customer reported the below warning whe using Clang v16.0.4 and C++20,
> > on a code that includes the header "/usr/include/infiniband/verbs.h":
> >
> > error: bitwise operation between different enumeration types ('ibv_access_flags' and
> > 'ib_uverbs_access_flags') is deprecated [-Werror,-Wdeprecated-enum-enum-conversion]
> > mem->mr = ibv_reg_mr(dev->pd, (void*)start, len, IBV_ACCESS_LOCAL_WRITE);
> > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > /usr/include/infiniband/verbs.h:2514:19: note: expanded from macro 'ibv_reg_mr'
> > ((access) & IBV_ACCESS_OPTIONAL_RANGE) == 0))
> > ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
> > 1 error generated.
> >
> > [...]
>
> Applied, thanks!
>
> [1/1] verbs: fix compilation warning with C++20
> https://git.kernel.org/rdma/rdma/c/9e5ccbfdd208a1
The more accurate link is https://github.com/linux-rdma/rdma-core/pull/1367
Thanks
>
> Best regards,
> --
> Leon Romanovsky <leonro@nvidia.com>
prev parent reply other threads:[~2023-07-05 8:40 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-09 15:31 [PATCH] verbs: fix compilation warning with C++20 Daniel Vacek
2023-06-09 16:00 ` Jason Gunthorpe
2023-06-09 16:15 ` Daniel Vacek
2023-06-09 16:18 ` Jason Gunthorpe
2023-06-09 16:29 ` Daniel Vacek
2023-06-09 16:34 ` Jason Gunthorpe
2023-06-13 13:19 ` [PATCH v2] " Daniel Vacek
2023-06-20 9:19 ` Daniel Vacek
2023-06-20 11:09 ` Rogerio de Souza Moraes
2023-06-29 12:41 ` Daniel Vacek
2023-06-29 15:55 ` Jason Gunthorpe
2023-07-05 7:30 ` Leon Romanovsky
2023-07-05 8:40 ` Leon Romanovsky [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=20230705084017.GK6455@unreal \
--to=leon@kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=neelx@redhat.com \
--cc=rogerio@cadence.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