Re: [PATCH 09/14] IB/mad: Convert allocations from kmem_cache to kmalloc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 20, 2015 at 11:53:31AM -0600, Hefty, Sean wrote:
> > @@ -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

Thanks Fixed,
Ira

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




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux