Re: [PATCH v3] IB/rxe: Remove unnecessary enum values

2018-10-17 Thread Jason Gunthorpe
On Wed, Sep 26, 2018 at 10:12:23PM -0700, Nathan Chancellor wrote: > Clang warns when an emumerated type is implicitly converted to another. > > drivers/infiniband/sw/rxe/rxe.c:106:27: warning: implicit conversion > from enumeration type 'enum rxe_device_param' to different enumeration > type 'enu

Re: [PATCH v3] IB/rxe: Remove unnecessary enum values

2018-09-27 Thread Nick Desaulniers
On Wed, Sep 26, 2018 at 10:14 PM Nathan Chancellor wrote: > > Clang warns when an emumerated type is implicitly converted to another. > > drivers/infiniband/sw/rxe/rxe.c:106:27: warning: implicit conversion > from enumeration type 'enum rxe_device_param' to different enumeration > type 'enum ib_at

[PATCH v3] IB/rxe: Remove unnecessary enum values

2018-09-26 Thread Nathan Chancellor
Clang warns when an emumerated type is implicitly converted to another. drivers/infiniband/sw/rxe/rxe.c:106:27: warning: implicit conversion from enumeration type 'enum rxe_device_param' to different enumeration type 'enum ib_atomic_cap' [-Wenum-conversion] rxe->attr.atomic_cap