[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AE90C24D6B3A694183C094C60CF0A2F6026B6EB5@saturn3.aculab.com>
Date: Wed, 21 Mar 2012 16:33:54 -0000
From: "David Laight" <David.Laight@...LAB.COM>
To: "Roland Dreier" <roland@...estorage.com>, <parav.pandit@...lex.com>
Cc: <linux-rdma@...r.kernel.org>, <netdev@...r.kernel.org>
Subject: RE: [PATCH 3/9] ocrdma: Driver for Emulex OneConnect RDMA adapter
> > +#define is_cqe_wr_imm(cqe) \
> > + ((le32_to_cpu(cqe->flags_status_srcqpn) & OCRDMA_CQE_WRITE_IMM) ? 1 : 0)
>
> ...similar comment about using readable typesafe inline functions
> instead of macros...
and if you are using #defines, you need to enclose every reference
to the parameters in ().
David
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists