Re: [PATCH] rdma/siw: fix enum type mismatch warnings

2019-07-12 Thread Bernard Metzler
-"Arnd Bergmann" wrote: - >To: "Bernard Metzler" , "Doug Ledford" >, "Jason Gunthorpe" >From: "Arnd Bergmann" >Date: 07/12/2019 10:53AM >Cc: "Arnd Bergmann" , "Jason Gunthorpe" >, linux-r...@vger.k

[PATCH] rdma/siw: fix enum type mismatch warnings

2019-07-12 Thread Arnd Bergmann
The values in map_cqe_status[] don't match the type: drivers/infiniband/sw/siw/siw_cq.c:31:4: error: implicit conversion from enumeration type 'enum siw_wc_status' to different enumeration type 'enum siw_opcode' [-Werror,-Wenum-conversion] { SIW_WC_SUCCESS, IB_WC_SUCCESS }, ~ ^~~