diff options
author | Nathan Chancellor <natechancellor@gmail.com> | 2019-07-10 10:48:00 -0700 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-07-10 15:25:30 -0300 |
commit | 775a41e281cf08b1d9e0f2dd89c062430b289a10 (patch) | |
tree | c6cfbc92e4edb9c9d6c4ee3bea81a01a6bce9e20 /include/keys | |
parent | 85de5d53366f02dd0f81c9be8f435b27fb82b1f7 (diff) | |
download | linux-775a41e281cf08b1d9e0f2dd89c062430b289a10.tar.bz2 |
rdma/siw: Use proper enumerated type in map_cqe_status
clang warns several times:
drivers/infiniband/sw/siw/siw_cq.c:31:4: warning: implicit conversion
from enumeration type 'enum siw_wc_status' to different enumeration type
'enum siw_opcode' [-Wenum-conversion]
{ SIW_WC_SUCCESS, IB_WC_SUCCESS },
~ ^~~~~~~~~~~~~~
Fixes: b0fff7317bb4 ("rdma/siw: completion queue methods")
Link: https://github.com/ClangBuiltLinux/linux/issues/596
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/keys')
0 files changed, 0 insertions, 0 deletions