Re: [PATCH v4 5/9] staging/rdma/hfi1: Add function stubs for TID caching

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

 



On Wed, Nov 11, 2015 at 01:10:40AM -0500, ira.weiny wrote:
> The original author and I have been going through the code to see what we can
> do.  We have identified a couple of other pieces which can be split.
> 
> One question.  Is it ok to have functionality which is added which is unused in
> a preliminary patch?  I believe this is ok as long as the code compiles but I
> just wanted to make sure.  While there are different operations added in this
> patch it is broken to not use them as a set.  So we need to have a series which
> implement the pieces with a final patch which exposes the set of operations.
> 
> Is this acceptable?

Yeah.  It's fine.  Don't add warnings about unused static functions
though.  Also we like to see a user in the same patchset so don't add
infrastructure first and the user code the next year or whatever.

regards,
dan carpenter

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux