OSDN Git Service

net/mlx5: When fetching CQEs return CQE instead of void pointer
authorDaniel Jurgens <danielj@mellanox.com>
Wed, 5 Dec 2018 02:03:00 +0000 (18:03 -0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 10 Dec 2018 02:16:16 +0000 (18:16 -0800)
commitfe206c209314f3cebe232518db9b5ad2606e34f1
tree30f4982c6beef5523fc1431adbedb17266036c6c
parent3fd3c80acc172fcaab2356c15e5e3c05758a9d51
net/mlx5: When fetching CQEs return CQE instead of void pointer

The function is only used to retrieve CQEs, use the proper type as the
return value.

Signed-off-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/wq.h