Re: [PATCH] common/mlx5: avoid warning about operation mixing different enum types

2025-06-05 Thread Dariusz Sosnowski
On Wed, Jun 04, 2025 at 08:18:58AM -0700, Andre Muezerie wrote: > On Wed, Jun 04, 2025 at 09:42:31AM +0200, Dariusz Sosnowski wrote: > > Hi, > > > > On Tue, Jun 03, 2025 at 06:41:24PM +0200, Dariusz Sosnowski wrote: > > > Hi, > > > > > > On Tue, May 27, 2025 at 04:41:25PM -0700, Andre Muezerie wr

Re: [PATCH] common/mlx5: avoid warning about operation mixing different enum types

2025-06-04 Thread Andre Muezerie
On Wed, Jun 04, 2025 at 09:42:31AM +0200, Dariusz Sosnowski wrote: > Hi, > > On Tue, Jun 03, 2025 at 06:41:24PM +0200, Dariusz Sosnowski wrote: > > Hi, > > > > On Tue, May 27, 2025 at 04:41:25PM -0700, Andre Muezerie wrote: > > > When compiling with MSVC, warnings like the one below pop up: > > >

Re: [PATCH] common/mlx5: avoid warning about operation mixing different enum types

2025-06-04 Thread Raslan Darawsheh
Hi, On 28/05/2025 2:41 AM, Andre Muezerie wrote: When compiling with MSVC, warnings like the one below pop up: ../drivers/common/mlx5/mlx5_devx_cmds.c(554): warning C5287: operands are different enum types '' and ''; use an explicit cast to silence this warning The values

Re: [PATCH] common/mlx5: avoid warning about operation mixing different enum types

2025-06-04 Thread Dariusz Sosnowski
Hi, On Tue, Jun 03, 2025 at 06:41:24PM +0200, Dariusz Sosnowski wrote: > Hi, > > On Tue, May 27, 2025 at 04:41:25PM -0700, Andre Muezerie wrote: > > When compiling with MSVC, warnings like the one below pop up: > > > > ../drivers/common/mlx5/mlx5_devx_cmds.c(554): warning C5287: operands > >

Re: [PATCH] common/mlx5: avoid warning about operation mixing different enum types

2025-06-03 Thread Dariusz Sosnowski
Hi, On Tue, May 27, 2025 at 04:41:25PM -0700, Andre Muezerie wrote: > When compiling with MSVC, warnings like the one below pop up: > > ../drivers/common/mlx5/mlx5_devx_cmds.c(554): warning C5287: operands > are different enum types > '' and > ''; use an explicit cast > to silence