> @@ -2678,7 +2693,8 @@ static int ib_mad_post_receive_mads(struct
> ib_mad_qp_info *qp_info,
>                       mad_priv = mad;
>                       mad = NULL;
>               } else {
> -                     mad_priv = kmem_cache_alloc(ib_mad_cache, GFP_KERNEL);
> +                     mad_priv =
> +                     alloc_mad_priv(max_mad_size(qp_info->port_priv),
> GFP_KERNEL);

Indentation is off

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to