From: Saeed Mahameed <[email protected]>
Date: Sun, 1 Jan 2017 23:10:21 +0200
> diff --git a/drivers/infiniband/hw/mlx5/qp.c b/drivers/infiniband/hw/mlx5/qp.c
> index a1b3125..6d5f5d4 100644
> --- a/drivers/infiniband/hw/mlx5/qp.c
> +++ b/drivers/infiniband/hw/mlx5/qp.c
> @@ -3080,9 +3080,10 @@ static void set_data_ptr_seg(struct mlx5_wqe_data_seg
> *dseg, struct ib_sge *sg)
> dseg->addr = cpu_to_be64(sg->addr);
> }
>
> -static __be16 get_klm_octo(int npages)
> +static inline u64 get_xlt_octo(u64 bytes)
> {
Again, please don't use 'inline' in foo.c files.