Re: [PATCH 3/27] Add MAD helper functions

From: Hal Rosenstock
Date: Mon Jul 11 2005 - 13:17:41 EST


On Mon, 2005-07-11 at 10:39, Alexey Dobriyan wrote:
> On Monday 11 July 2005 17:48, Hal Rosenstock wrote:
> > Add new helper routines for allocating MADs for sending and formatting
> > a send WR.
>
> > -- linux-2.6.13-rc2-mm1/drivers/infiniband2/core/mad.c
> > +++ linux-2.6.13-rc2-mm1/drivers/infiniband3/core/mad.c
> ^^^^^^^^^^^
> Ick. You'd better have linux-2.6.13-rc2-mm1-[0123...].

Shall I resubmit with linux-2.6.13-rc2-mm1-[0123...] ?

> > +struct ib_mad_send_buf * ib_create_send_mad(struct ib_mad_agent *mad_agent,
> > + u32 remote_qpn, u16 pkey_index,
> > + struct ib_ah *ah,
> > + int hdr_len, int data_len,
> > + int gfp_mask)
>
> unsigned int __nocast gfp_mask, please. 430 or so infiniband sparse warnings
> is not a reason to add more.

I'll fix this in a subsequent patch. Is that OK ?

Thanks.

-- Hal

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