Re: [PATCH v2] IB/mlx4: Avoid implicit enumerated type conversion

2018-09-27 Thread Nick Desaulniers
On Thu, Sep 27, 2018 at 1:44 PM Nathan Chancellor wrote: > > Clang warns when one enumerated type is implicitly converted to another. > > drivers/infiniband/hw/mlx4/mad.c:1811:41: warning: implicit conversion > from enumeration type 'enum mlx4_ib_qp_flags' to different enumeration > type 'enum ib_

[PATCH v2] IB/mlx4: Avoid implicit enumerated type conversion

2018-09-27 Thread Nathan Chancellor
Clang warns when one enumerated type is implicitly converted to another. drivers/infiniband/hw/mlx4/mad.c:1811:41: warning: implicit conversion from enumeration type 'enum mlx4_ib_qp_flags' to different enumeration type 'enum ib_qp_create_flags' [-Wenum-conversion] qp_init_attr.ini