From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Subject: Re: [PATCH net-next v2 1/4] cxgb4/iw_cxgb4/cxgb4i: remove duplicate definitions Date: Mon, 13 Apr 2015 10:38:08 -0600 Message-ID: <20150413163808.GA17521@obsidianresearch.com> References: <6358f849b5a1a3727879f4f2f5c855e3a5b95ab4.1428930614.git.varun@chelsio.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <6358f849b5a1a3727879f4f2f5c855e3a5b95ab4.1428930614.git.varun@chelsio.com> Sender: netdev-owner@vger.kernel.org To: Varun Prakash Cc: netdev@vger.kernel.org, linux-scsi@vger.kernel.org, linux-rdma@vger.kernel.org, davem@davemloft.net, JBottomley@parallels.com, roland@purestorage.com, leedom@chelsio.com, anish@chelsio.com, hariprasad@chelsio.com, swise@opengridcomputing.com, kxie@chelsio.com, praveenm@chelsio.com, kumaras@chelsio.com List-Id: linux-rdma@vger.kernel.org On Mon, Apr 13, 2015 at 07:34:23PM +0530, Varun Prakash wrote: > define struct ulptx_idata in common header file t4_msg.h > to remove duplicate definitions. The Infiniband side of this patch looks OK. Reviewed-By: Jason Gunthorpe Just some random thoughts on the other patches: - Try and use 'if (IS_ENABLED(CONFIG_XX))' over #ifdef to improve compile test coverage. This would drop a fair number of ifdefs. - Some of the commit message are short, or non existant (ie #4) - Generally, no need for 'static inline' in a .c file, the compiler knows what to do. Regards, Jason